2018-05-04 09:46:03 +00:00
|
|
|
module.exports = Self => {
|
2018-08-30 09:02:50 +00:00
|
|
|
require('../methods/sale/getClaimableFromTicket')(Self);
|
2022-12-20 14:19:05 +00:00
|
|
|
require('../methods/sale/salePreparingList')(Self);
|
2018-07-03 13:00:16 +00:00
|
|
|
require('../methods/sale/reserve')(Self);
|
2020-07-01 12:28:05 +00:00
|
|
|
require('../methods/sale/deleteSales')(Self);
|
2018-06-28 13:21:04 +00:00
|
|
|
require('../methods/sale/updatePrice')(Self);
|
|
|
|
require('../methods/sale/updateQuantity')(Self);
|
2019-09-06 09:43:15 +00:00
|
|
|
require('../methods/sale/updateConcept')(Self);
|
2019-11-21 11:00:56 +00:00
|
|
|
require('../methods/sale/recalculatePrice')(Self);
|
2022-04-04 11:26:53 +00:00
|
|
|
require('../methods/sale/refund')(Self);
|
2021-05-26 07:14:18 +00:00
|
|
|
require('../methods/sale/canEdit')(Self);
|
2022-10-20 13:05:46 +00:00
|
|
|
require('../methods/sale/usesMana')(Self);
|
2019-07-02 10:12:15 +00:00
|
|
|
|
|
|
|
Self.validatesPresenceOf('concept', {
|
|
|
|
message: `Concept cannot be blank`
|
|
|
|
});
|
2018-04-10 05:48:04 +00:00
|
|
|
};
|