salix/services/client/common/models/client-contact.js

10 lines
207 B
JavaScript
Raw Normal View History

module.exports = Self => {
Self.validatesPresenceOf('name', {
message: 'Name cannot be blank'
});
Self.validatesPresenceOf('phone', {
message: 'Phone cannot be blank'
});
};