13 lines
432 B
JavaScript
13 lines
432 B
JavaScript
module.exports = Self => {
|
|
require('../methods/sale/getClaimableFromTicket')(Self);
|
|
require('../methods/sale/reserve')(Self);
|
|
require('../methods/sale/removes')(Self);
|
|
require('../methods/sale/updatePrice')(Self);
|
|
require('../methods/sale/updateQuantity')(Self);
|
|
require('../methods/sale/updateConcept')(Self);
|
|
|
|
Self.validatesPresenceOf('concept', {
|
|
message: `Concept cannot be blank`
|
|
});
|
|
};
|