13 lines
321 B
JavaScript
13 lines
321 B
JavaScript
module.exports = Self => {
|
|
require('../methods/zone/clone')(Self);
|
|
require('../methods/zone/editPrices')(Self);
|
|
|
|
Self.validatesPresenceOf('warehouseFk', {
|
|
message: `Warehouse cannot be blank`
|
|
});
|
|
|
|
Self.validatesPresenceOf('agencyModeFk', {
|
|
message: `Agency cannot be blank`
|
|
});
|
|
};
|