From 57f29fc883b075944e66ca15bb099862d85a1cc2 Mon Sep 17 00:00:00 2001 From: jordi fita mas Date: Sat, 1 Apr 2023 15:58:50 +0200 Subject: [PATCH] Remove
around hidden products when adding to invoice --- web/template/invoices/products.gohtml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/web/template/invoices/products.gohtml b/web/template/invoices/products.gohtml index cdad7f3..903a61a 100644 --- a/web/template/invoices/products.gohtml +++ b/web/template/invoices/products.gohtml @@ -31,16 +31,14 @@ {{ template "hidden-field" .Tags }} {{- range $product := .Products }} -
- {{ template "hidden-field" .InvoiceProductId }} - {{ template "hidden-field" .ProductId }} - {{ template "hidden-field" .Name }} - {{ template "hidden-field" .Description }} - {{ template "hidden-field" .Price }} - {{ template "hidden-field" .Quantity }} - {{ template "hidden-field" .Discount }} - {{ template "hidden-select-field" .Tax }} -
+ {{ template "hidden-field" .InvoiceProductId }} + {{ template "hidden-field" .ProductId }} + {{ template "hidden-field" .Name }} + {{ template "hidden-field" .Description }} + {{ template "hidden-field" .Price }} + {{ template "hidden-field" .Quantity }} + {{ template "hidden-field" .Discount }} + {{ template "hidden-select-field" .Tax }} {{- end }} {{- end }}