default creditor name: remove exclamation point for compatibility

The Swiss banking app neon does not accept the exclamation point.
Users need to remove it before they can enter the transaction.

Hence, remove it for compatibility, perhaps other banks or
banking apps are also affected.
This commit is contained in:
Michael Stapelberg
2021-07-18 09:23:43 +02:00
parent 0329353347
commit eb600760a3

View File

@@ -47,7 +47,7 @@ func qrchFromRequest(r *http.Request) *qrbill.QRCH {
IBAN: ifEmpty(r.Form, "criban", "CH0209000000870913543"), IBAN: ifEmpty(r.Form, "criban", "CH0209000000870913543"),
Cdtr: qrbill.Address{ Cdtr: qrbill.Address{
AdrTp: qrbill.AddressType(ifEmpty(r.Form, "craddrtype", string(qrbill.AddressTypeStructured))), AdrTp: qrbill.AddressType(ifEmpty(r.Form, "craddrtype", string(qrbill.AddressTypeStructured))),
Name: ifEmpty(r.Form, "crname", "Legalize it!"), Name: ifEmpty(r.Form, "crname", "Legalize it"),
StrtNmOrAdrLine1: ifEmpty(r.Form, "craddr1", "Quellenstrasse"), StrtNmOrAdrLine1: ifEmpty(r.Form, "craddr1", "Quellenstrasse"),
BldgNbOrAdrLine2: ifEmpty(r.Form, "craddr2", "25"), BldgNbOrAdrLine2: ifEmpty(r.Form, "craddr2", "25"),
PstCd: ifEmpty(r.Form, "crpost", "8005"), PstCd: ifEmpty(r.Form, "crpost", "8005"),