This commit is contained in:
parent
8b3565d885
commit
f8bf2e02de
|
@ -197,5 +197,15 @@
|
||||||
"Booking completed": "Booking complete",
|
"Booking completed": "Booking complete",
|
||||||
"The ticket is in preparation": "The ticket [{{ticketId}}]({{{ticketUrl}}}) of the sales person {{salesPersonId}} is in preparation",
|
"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",
|
"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",
|
"countryFk":"País",
|
||||||
"provinceFk":"Provincia",
|
"provinceFk":"Provincia",
|
||||||
"sageTaxTypeFk":"Tipo de impuesto Sage",
|
"sageTaxTypeFk":"Tipo de impuesto Sage",
|
||||||
"sageTransactionTypeFk":"Tipo de transacción Sage",
|
"sageTransactionTypeFk":"Tipo de transacción Sage"
|
||||||
"transferorFk":"",
|
|
||||||
"hasToInvoiceByAddress":"",
|
|
||||||
"isFreezed":"",
|
|
||||||
"isVies":"",
|
|
||||||
"isToBeMailed":"",
|
|
||||||
"isEqualizated":"",
|
|
||||||
"isTaxDataVerified":"",
|
|
||||||
"despiteOfClient":"",
|
|
||||||
"hasIncoterms":"",
|
|
||||||
"hasElectronicInvoice":""
|
|
||||||
}
|
}
|
|
@ -11,8 +11,7 @@ describe('Client Create', () => {
|
||||||
street: 'WALL STREET',
|
street: 'WALL STREET',
|
||||||
city: 'New York',
|
city: 'New York',
|
||||||
businessTypeFk: 'florist',
|
businessTypeFk: 'florist',
|
||||||
provinceFk: 1,
|
provinceFk: 1
|
||||||
countryFk: 1
|
|
||||||
};
|
};
|
||||||
|
|
||||||
beforeAll(async() => {
|
beforeAll(async() => {
|
||||||
|
|
|
@ -15,6 +15,10 @@ module.exports = Self => {
|
||||||
message: 'Street cannot be empty'
|
message: 'Street cannot be empty'
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Self.validatesPresenceOf('city', {
|
||||||
|
message: 'City cannot be empty'
|
||||||
|
});
|
||||||
|
|
||||||
Self.validatesUniquenessOf('fi', {
|
Self.validatesUniquenessOf('fi', {
|
||||||
message: 'TIN must be unique'
|
message: 'TIN must be unique'
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue