2583-create_account_supplier #552
|
@ -2,9 +2,11 @@ module.exports = Self => {
|
|||
Self.validatesPresenceOf('name', {
|
||||
message: 'Name cannot be blank'
|
||||
});
|
||||
|
||||
Self.validatesPresenceOf('bic', {
|
||||
message: 'Swift / BIC cannot be empty'
|
||||
});
|
||||
|
||||
Self.validatesUniquenessOf('bic', {
|
||||
message: 'This BIC already exist.'
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue