Bank transfer: Change order of variables in export

This commit is contained in:
Raphael Michel
2021-01-27 11:09:07 +01:00
parent f9b834b798
commit a949fd7fdc

View File

@@ -69,7 +69,7 @@ def build_sepa_xml(refund_export: RefundExport, account_holder, iban, bic):
"IBAN": row["iban"],
"amount": int(Decimal(row['amount']) * 100), # in euro-cents
"execution_date": datetime.date.today(),
"description": f"{_('Refund')} {refund_export.entity_slug} {row['id']} {row.get('comment') or ''}".strip()[:140],
"description": f"{row['id']} {refund_export.entity_slug} {_('Refund')} {row.get('comment') or ''}".strip()[:140],
}
if row.get('bic'):
try: