mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
Ignore spaces in bank transfer references
This commit is contained in:
@@ -142,7 +142,7 @@ def process_banktransfers(self, job: int, data: list) -> None:
|
||||
pattern = re.compile("(%s)[ \-_]*([A-Z0-9]{%s})" % ("|".join(prefixes), code_len))
|
||||
|
||||
for trans in transactions:
|
||||
match = pattern.search(trans.reference.upper())
|
||||
match = pattern.search(trans.reference.replace(" ", "").upper())
|
||||
|
||||
if match:
|
||||
if job.event:
|
||||
|
||||
Reference in New Issue
Block a user