salix/services/agency/common/models/zone.js

10 lines
227 B
JavaScript
Raw Normal View History

2018-09-19 13:05:07 +00:00
module.exports = Self => {
Self.validatesPresenceOf('warehouseFk', {
message: `Warehouse cannot be blank`
});
Self.validatesPresenceOf('agencyModeFk', {
message: `Agency cannot be blank`
});
};