add amount parameter

This commit is contained in:
Michael Stapelberg
2020-07-09 18:24:02 +02:00
parent b3e76141a8
commit d606b9f795
2 changed files with 11 additions and 1 deletions

View File

@@ -56,7 +56,7 @@ func qrchFromRequest(r *http.Request) *qrbill.QRCH {
},
},
CcyAmt: qrbill.QRCHCcyAmt{
Amt: "",
Amt: ifEmpty(r.Form, "amount", ""),
Ccy: "CHF",
},
UltmtDbtr: qrbill.Address{