Bank transfer: Allow to refund payments without BIC

This commit is contained in:
Raphael Michel
2021-01-08 23:21:26 +01:00
parent bc8358cd97
commit cf3c4d26cb
7 changed files with 75 additions and 11 deletions

View File

@@ -649,7 +649,7 @@ class RefundExportListView(ListView):
transaction_rows.append({
"amount": refund.amount,
"id": refund.full_id,
**{key: data[key] for key in ("payer", "iban", "bic")}
**{key: data.get(key) for key in ("payer", "iban", "bic")}
})
refund.done(user=self.request.user)