18 lines
685 B
JavaScript
18 lines
685 B
JavaScript
module.exports = Self => {
|
|
require('../methods/sale/getClaimableFromTicket')(Self);
|
|
require('../methods/sale/salePreparingList')(Self);
|
|
require('../methods/sale/reserve')(Self);
|
|
require('../methods/sale/deleteSales')(Self);
|
|
require('../methods/sale/updatePrice')(Self);
|
|
require('../methods/sale/updateQuantity')(Self);
|
|
require('../methods/sale/updateConcept')(Self);
|
|
require('../methods/sale/recalculatePrice')(Self);
|
|
require('../methods/sale/refund')(Self);
|
|
require('../methods/sale/canEdit')(Self);
|
|
require('../methods/sale/usesMana')(Self);
|
|
|
|
Self.validatesPresenceOf('concept', {
|
|
message: `Concept cannot be blank`
|
|
});
|
|
};
|