2018-05-04 09:46:03 +00:00
|
|
|
module.exports = Self => {
|
2018-08-30 09:02:50 +00:00
|
|
|
require('../methods/sale/getClaimableFromTicket')(Self);
|
2018-07-03 13:00:16 +00:00
|
|
|
require('../methods/sale/reserve')(Self);
|
2018-06-06 14:54:40 +00:00
|
|
|
require('../methods/sale/removes')(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-07-02 10:12:15 +00:00
|
|
|
|
|
|
|
Self.validatesPresenceOf('concept', {
|
|
|
|
message: `Concept cannot be blank`
|
|
|
|
});
|
2018-04-10 05:48:04 +00:00
|
|
|
};
|