231801_test_to_master #1519
|
@ -279,15 +279,16 @@
|
||||||
"Comment added to client": "Observación añadida al cliente {{clientFk}}",
|
"Comment added to client": "Observación añadida al cliente {{clientFk}}",
|
||||||
"Cannot create a new claimBeginning from a different ticket": "No se puede crear una línea de reclamación de un ticket diferente al origen",
|
"Cannot create a new claimBeginning from a different ticket": "No se puede crear una línea de reclamación de un ticket diferente al origen",
|
||||||
"company": "Compañía",
|
"company": "Compañía",
|
||||||
"country": "País",
|
"country": "País",
|
||||||
"clientId": "Id cliente",
|
"clientId": "Id cliente",
|
||||||
"clientSocialName": "Cliente",
|
"clientSocialName": "Cliente",
|
||||||
"amount": "Importe",
|
"amount": "Importe",
|
||||||
"taxableBase": "Base",
|
"taxableBase": "Base",
|
||||||
"ticketFk": "Id ticket",
|
"ticketFk": "Id ticket",
|
||||||
"isActive": "Activo",
|
"isActive": "Activo",
|
||||||
"hasToInvoice": "Facturar",
|
"hasToInvoice": "Facturar",
|
||||||
"isTaxDataChecked": "Datos comprobados",
|
"isTaxDataChecked": "Datos comprobados",
|
||||||
"comercialId": "Id comercial",
|
"comercialId": "Id comercial",
|
||||||
"comercialName": "Comercial"
|
"comercialName": "Comercial",
|
||||||
|
"Invalid NIF for VIES": "Invalid NIF for VIES"
|
||||||
}
|
}
|
|
@ -24,10 +24,6 @@ module.exports = Self => {
|
||||||
message: 'TIN must be unique'
|
message: 'TIN must be unique'
|
||||||
});
|
});
|
||||||
|
|
||||||
Self.validateAsync(validateNIF(this.fi, this.isVies, this.countryFk), {
|
|
||||||
message: 'Invalid TIN'
|
|
||||||
});
|
|
||||||
|
|
||||||
// async function fiInvalid(err, done) {
|
// async function fiInvalid(err, done) {
|
||||||
// const filter = {
|
// const filter = {
|
||||||
// fields: ['code'],
|
// fields: ['code'],
|
||||||
|
|
Loading…
Reference in New Issue