HOR-61 Adding missing validations ante missing label

This commit is contained in:
Julio Cesar Laura Avendaño
2016-08-16 16:46:00 -04:00
parent de3e2411b6
commit d5542e5819
7 changed files with 43 additions and 9 deletions

View File

@@ -99,7 +99,8 @@ Ext.onReady(function(){
if(value > 0) {
return true;
} else {
PMExt.error( _('ID_ERROR'), _('ERROR_ONLY_POSITIVE_NUMBER'));
PMExt.error( _('ID_ERROR'), _('ID_INVALID_VALUE_EXPECTING_POSITIVE_INTEGER', _('ID_DEFAULT_EXPIRATION_YEAR')));
return false;
}
},
listeners:{