mirror of
https://github.com/pretix/pretix.git
synced 2026-05-10 16:04:02 +00:00
mt940: payer is not always available
This commit is contained in:
committed by
Raphael Michel
parent
ebabd20d09
commit
3c762adbf4
@@ -84,7 +84,7 @@ def _get_unknown_transactions(event: Event, job: BankImportJob, data: list):
|
|||||||
amount = Decimal("0.00")
|
amount = Decimal("0.00")
|
||||||
|
|
||||||
trans = BankTransaction(event=event, import_job=job,
|
trans = BankTransaction(event=event, import_job=job,
|
||||||
payer=row['payer'],
|
payer=row.get('payer', ''),
|
||||||
reference=row['reference'],
|
reference=row['reference'],
|
||||||
amount=amount,
|
amount=amount,
|
||||||
date=row['date'])
|
date=row['date'])
|
||||||
|
|||||||
Reference in New Issue
Block a user