refs #5878 test: fix
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Javier Segarra 2023-11-27 08:12:00 +01:00
parent 8b3565d885
commit f8bf2e02de
4 changed files with 18 additions and 15 deletions

View File

@ -197,5 +197,15 @@
"Booking completed": "Booking complete",
"The ticket is in preparation": "The ticket [{{ticketId}}]({{{ticketUrl}}}) of the sales person {{salesPersonId}} is in preparation",
"You can only add negative amounts in refund tickets": "You can only add negative amounts in refund tickets",
"Try again": "Try again"
"Try again": "Try again",
"Property is not defined in this model": "La propiedad que ha modificado no existe",
"postcode": "Postcode",
"fi": "NIF/CIF",
"socialName": "Social name",
"street":"Street",
"city":"City",
"countryFk":"Country",
"provinceFk":"Province",
"sageTaxTypeFk":"Sage tax type",
"sageTransactionTypeFk":"Sage transaction type"
}

View File

@ -342,15 +342,5 @@
"countryFk":"País",
"provinceFk":"Provincia",
"sageTaxTypeFk":"Tipo de impuesto Sage",
"sageTransactionTypeFk":"Tipo de transacción Sage",
"transferorFk":"",
"hasToInvoiceByAddress":"",
"isFreezed":"",
"isVies":"",
"isToBeMailed":"",
"isEqualizated":"",
"isTaxDataVerified":"",
"despiteOfClient":"",
"hasIncoterms":"",
"hasElectronicInvoice":""
"sageTransactionTypeFk":"Tipo de transacción Sage"
}

View File

@ -11,8 +11,7 @@ describe('Client Create', () => {
street: 'WALL STREET',
city: 'New York',
businessTypeFk: 'florist',
provinceFk: 1,
countryFk: 1
provinceFk: 1
};
beforeAll(async() => {

View File

@ -15,6 +15,10 @@ module.exports = Self => {
message: 'Street cannot be empty'
});
Self.validatesPresenceOf('city', {
message: 'City cannot be empty'
});
Self.validatesUniquenessOf('fi', {
message: 'TIN must be unique'
});