6995-testToMaster_2410 #2139
|
@ -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"
|
||||
}
|
||||
|
|
|
@ -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"
|
||||
}
|
|
@ -11,8 +11,7 @@ describe('Client Create', () => {
|
|||
street: 'WALL STREET',
|
||||
city: 'New York',
|
||||
businessTypeFk: 'florist',
|
||||
provinceFk: 1,
|
||||
countryFk: 1
|
||||
provinceFk: 1
|
||||
};
|
||||
|
||||
beforeAll(async() => {
|
||||
|
|
|
@ -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'
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue