Add missing call to PaymentMethod.FillValue

This commit is contained in:
jordi fita mas 2023-03-08 11:19:59 +01:00
parent 3dd0b0136e
commit d725dcf529
1 changed files with 1 additions and 0 deletions

View File

@ -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++ {