Merge branch '5772-reduceInvoicePdfSize' of https://gitea.verdnatura.es/verdnatura/salix into 5772-reduceInvoicePdfSize
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
commit
dfdd3a1733
|
@ -265,7 +265,7 @@
|
||||||
"It is not possible to modify cloned sales": "No es posible modificar líneas de pedido clonadas",
|
"It is not possible to modify cloned sales": "No es posible modificar líneas de pedido clonadas",
|
||||||
"A supplier with the same name already exists. Change the country.": "Un proveedor con el mismo nombre ya existe. Cambie el país.",
|
"A supplier with the same name already exists. Change the country.": "Un proveedor con el mismo nombre ya existe. Cambie el país.",
|
||||||
"There is no assigned email for this client": "No hay correo asignado para este cliente",
|
"There is no assigned email for this client": "No hay correo asignado para este cliente",
|
||||||
"Exists an invoice with a previous date": "Existe una factura con fecha anterior",
|
"Exists an invoice with a future date": "Existe una factura con fecha posterior",
|
||||||
"Invoice date can't be less than max date": "La fecha de factura no puede ser inferior a la fecha límite",
|
"Invoice date can't be less than max date": "La fecha de factura no puede ser inferior a la fecha límite",
|
||||||
"Warehouse inventory not set": "El almacén inventario no está establecido",
|
"Warehouse inventory not set": "El almacén inventario no está establecido",
|
||||||
"This locker has already been assigned": "Esta taquilla ya ha sido asignada",
|
"This locker has already been assigned": "Esta taquilla ya ha sido asignada",
|
||||||
|
|
|
@ -49,7 +49,7 @@ class Controller extends Section {
|
||||||
if (this.invoiceDate < this.maxShipped)
|
if (this.invoiceDate < this.maxShipped)
|
||||||
throw new UserError('Invoice date can\'t be less than max date');
|
throw new UserError('Invoice date can\'t be less than max date');
|
||||||
if (this.minInvoicingDate && this.invoiceDate.getTime() < this.minInvoicingDate.getTime())
|
if (this.minInvoicingDate && this.invoiceDate.getTime() < this.minInvoicingDate.getTime())
|
||||||
throw new UserError('Exists an invoice with a previous date');
|
throw new UserError('Exists an invoice with a future date');
|
||||||
if (!this.companyFk)
|
if (!this.companyFk)
|
||||||
throw new UserError('Choose a valid company');
|
throw new UserError('Choose a valid company');
|
||||||
if (!this.printerFk)
|
if (!this.printerFk)
|
||||||
|
|
Loading…
Reference in New Issue