Recovery recovery on "grade" field #368

This commit is contained in:
Joan Sanchez 2018-07-04 13:33:40 +02:00
parent 1e54b9e228
commit cdd477a8e5
2 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,6 @@
module.exports = function(Self) {
require('../methods/recovery/filter')(Self);
require('../methods/recovery/hasActiveRecovery')(Self);
Self.validatesPresenceOf('period', {message: 'Period cannot be blank'});
};

View File

@ -26,5 +26,6 @@
"NO_AGENCY_AVAILABLE": "NO_AGENCY_AVAILABLE",
"Only manager can change the credit": "Solo el gerente puede cambiar el credito de este cliente",
"Name cannot be blank": "El nombre no puede estar en blanco",
"Phone cannot be blank": "El teléfono no puede estar en blanco"
"Phone cannot be blank": "El teléfono no puede estar en blanco",
"Period cannot be blank": "El periodo no puede estar en blanco"
}