6956-2410_devTest #2112

Merged
alexm merged 150 commits from 6956-2410_devTest into test 2024-02-29 09:17:58 +00:00
4 changed files with 18 additions and 15 deletions
Showing only changes of commit f8bf2e02de - Show all commits

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'
});