forked from CGM_Public/pretix_original
mt940: also consider non-SWIFT field NS
This commit is contained in:
committed by
Raphael Michel
parent
3c762adbf4
commit
e44f34f0a9
@@ -20,7 +20,7 @@ def parse(file):
|
||||
result.append({
|
||||
'reference': "\n".join([
|
||||
t.data.get(f) for f in ('transaction_details', 'customer_reference', 'bank_reference',
|
||||
'extra_details') if t.data.get(f, '')]),
|
||||
'extra_details', 'non_swift_text') if t.data.get(f, '')]),
|
||||
'amount': str(round_decimal(t.data['amount'].amount)),
|
||||
'date': t.data['date'].isoformat()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user