Remove <fieldset> around hidden products when adding to invoice

This commit is contained in:
jordi fita mas 2023-04-01 15:58:50 +02:00
parent c453715ee1
commit 57f29fc883
1 changed files with 8 additions and 10 deletions

View File

@ -31,16 +31,14 @@
{{ template "hidden-field" .Tags }}
{{- range $product := .Products }}
<fieldset>
{{ 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 }}
</fieldset>
{{ 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 }}