231801_test_to_master #1519

Merged
alexm merged 490 commits from 231801_test_to_master into master 2023-05-12 06:29:59 +00:00
2 changed files with 14 additions and 17 deletions
Showing only changes of commit 38142c121d - Show all commits

View File

@ -279,15 +279,16 @@
"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",
"company": "Compañía",
"country": "País",
"clientId": "Id cliente",
"clientSocialName": "Cliente",
"amount": "Importe",
"taxableBase": "Base",
"ticketFk": "Id ticket",
"isActive": "Activo",
"hasToInvoice": "Facturar",
"isTaxDataChecked": "Datos comprobados",
"comercialId": "Id comercial",
"comercialName": "Comercial"
}
"country": "País",
"clientId": "Id cliente",
"clientSocialName": "Cliente",
"amount": "Importe",
"taxableBase": "Base",
"ticketFk": "Id ticket",
"isActive": "Activo",
"hasToInvoice": "Facturar",
"isTaxDataChecked": "Datos comprobados",
"comercialId": "Id comercial",
"comercialName": "Comercial",
"Invalid NIF for VIES": "Invalid NIF for VIES"
}

View File

@ -24,10 +24,6 @@ module.exports = Self => {
message: 'TIN must be unique'
});
Self.validateAsync(validateNIF(this.fi, this.isVies, this.countryFk), {
message: 'Invalid TIN'
});
// async function fiInvalid(err, done) {
// const filter = {
// fields: ['code'],
@ -102,7 +98,7 @@ module.exports = Self => {
err();
done();
}
Self.validateAsync('fi', tinIsValid, {
message: 'Invalid TIN'
});