2018-03-21 11:56:18 +00:00
|
|
|
module.exports = function(Self) {
|
2020-06-17 13:38:37 +00:00
|
|
|
require('../methods/ticket-tracking/setDelivered')(Self);
|
2018-03-27 12:24:47 +00:00
|
|
|
|
2018-04-05 09:09:22 +00:00
|
|
|
Self.validatesPresenceOf('stateFk', {message: 'State cannot be blank'});
|
2019-01-22 09:04:42 +00:00
|
|
|
Self.validatesPresenceOf('workerFk', {message: 'Worker cannot be blank'});
|
2018-03-21 11:56:18 +00:00
|
|
|
};
|