From 9ef5c0c56046ca40cab7bed37e3ff9b3f9426668 Mon Sep 17 00:00:00 2001 From: vicent Date: Wed, 22 Mar 2023 09:07:22 +0100 Subject: [PATCH] refs #5013 mostrar las observaciones del ticket --- db/changes/231201/00-observationType.sql | 2 +- print/templates/reports/invoice/invoice.html | 22 +++++++------------ print/templates/reports/invoice/invoice.js | 3 +++ .../templates/reports/invoice/sql/tickets.sql | 5 +++-- 4 files changed, 15 insertions(+), 17 deletions(-) diff --git a/db/changes/231201/00-observationType.sql b/db/changes/231201/00-observationType.sql index 20e3608e4..c0e34c7b6 100644 --- a/db/changes/231201/00-observationType.sql +++ b/db/changes/231201/00-observationType.sql @@ -1,2 +1,2 @@ INSERT INTO `vn`.`observationType` (`description`, `code`, `hasNewBornMessage`) -VALUES ('Factura', 'invocieOut', '0'); +VALUES ('Factura', 'invoiceOut', '0'); diff --git a/print/templates/reports/invoice/invoice.html b/print/templates/reports/invoice/invoice.html index 2c37126fc..7a1ed3319 100644 --- a/print/templates/reports/invoice/invoice.html +++ b/print/templates/reports/invoice/invoice.html @@ -119,16 +119,6 @@ {{ticketSubtotal(ticket) | currency('EUR', $i18n.locale)}} - -
-
-
{{$t('observations')}}
-
-
{{ticket.description}}
-
-
-
- @@ -250,18 +240,22 @@ -
+
{{$t('observations')}}
-
{{$t('wireTransfer')}}
-
{{$t('accountNumber', [invoice.iban])}}
+
+
{{$t('wireTransfer')}}
+
{{$t('accountNumber', [invoice.iban])}}
+
+
+ {{ticketObservations}} +
-