forked from CGM_Public/pretix_original
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")
|
||||
|
||||
trans = BankTransaction(event=event, import_job=job,
|
||||
payer=row['payer'],
|
||||
payer=row.get('payer', ''),
|
||||
reference=row['reference'],
|
||||
amount=amount,
|
||||
date=row['date'])
|
||||
|
||||
Reference in New Issue
Block a user