2583-create_account_supplier #552

Merged
joan merged 15 commits from 2583-create_account_supplier into dev 2021-02-17 15:22:50 +00:00
1 changed files with 2 additions and 0 deletions
Showing only changes of commit 5b40edb284 - Show all commits

View File

@ -2,9 +2,11 @@ module.exports = Self => {
Self.validatesPresenceOf('name', { Self.validatesPresenceOf('name', {
message: 'Name cannot be blank' message: 'Name cannot be blank'
}); });
Self.validatesPresenceOf('bic', { Self.validatesPresenceOf('bic', {
message: 'Swift / BIC cannot be empty' message: 'Swift / BIC cannot be empty'
}); });
Self.validatesUniquenessOf('bic', { Self.validatesUniquenessOf('bic', {
message: 'This BIC already exist.' message: 'This BIC already exist.'
}); });