salix/modules/ticket/back/models/sale.js

12 lines
380 B
JavaScript
Raw Normal View History

module.exports = Self => {
2018-08-30 09:02:50 +00:00
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);
Self.validatesPresenceOf('concept', {
message: `Concept cannot be blank`
});
2018-04-10 05:48:04 +00:00
};