From d725dcf529772cdea67051c27e2a7bc14bcfcb4e Mon Sep 17 00:00:00 2001 From: jordi fita mas Date: Wed, 8 Mar 2023 11:19:59 +0100 Subject: [PATCH] Add missing call to PaymentMethod.FillValue --- pkg/invoices.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/invoices.go b/pkg/invoices.go index f744458..7bf541d 100644 --- a/pkg/invoices.go +++ b/pkg/invoices.go @@ -404,6 +404,7 @@ func (form *invoiceForm) Parse(r *http.Request) error { form.Number.FillValue(r) form.Date.FillValue(r) form.Notes.FillValue(r) + form.PaymentMethod.FillValue(r) if _, ok := r.Form["product.id.0"]; ok { taxOptions := mustGetTaxOptions(r.Context(), getConn(r), form.company) for index := 0; true; index++ {