#5834 - billingDataAutoFillBic #1821
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix#1821
Loading…
Reference in New Issue
No description provided.
Delete Branch "5834-billingDataAutoFillBic"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
5834-billingDataAutoFillBicto WIP: 5834-billingDataAutoFillBicWIP: 5834-billingDataAutoFillBicto 5834-billingDataAutoFillBic5834-billingDataAutoFillBicto WIP: 5834-billingDataAutoFillBic@ -10,4 +10,20 @@ module.exports = Self => {
Self.validatesUniquenessOf('bic', {
message: 'This BIC already exist.'
});
Con esto en el back ya valdria
Entiendo que deberian estar las 2 validaciones del campo bic
WIP: 5834-billingDataAutoFillBicto WIP: #5834 - billingDataAutoFillBicWIP: #5834 - billingDataAutoFillBicto #5834 - billingDataAutoFillBic@ -11,2 +11,4 @@
message: 'This BIC already exist.'
});
Self.validateAsync('bic', checkBic, {
He hecho pruebas y he visto que si envias countryFk a null da error y este no es informativo al usuario.
Propuesta, añadir en bank-entity.js esta validación
Self.validatesPresenceOf('countryFk', { message: 'CountryFK cannot be empty' });