mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Add manual order-matching field for duplicate bankimport transactions (#1461)
* Add manual order-matching field for duplicate bankimport transactions * Only show matching-field for already matched transactions - not for errored ones.
This commit is contained in:
committed by
Raphael Michel
parent
1e0e8184c8
commit
70e95b42fa
@@ -136,7 +136,8 @@ class ActionView(View):
|
||||
elif v.startswith('comment:'):
|
||||
return self._comment(trans, v[8:])
|
||||
|
||||
elif v.startswith('assign:') and trans.state == BankTransaction.STATE_NOMATCH:
|
||||
elif v.startswith('assign:') and trans.state in (BankTransaction.STATE_NOMATCH,
|
||||
BankTransaction.STATE_DUPLICATE):
|
||||
return self._assign(trans, v[7:])
|
||||
|
||||
elif v == 'retry' and trans.state in (BankTransaction.STATE_ERROR, BankTransaction.STATE_DUPLICATE):
|
||||
|
||||
Reference in New Issue
Block a user