Fix regexp for external transfer
Since the SEPA update, the "VIR" prefix is not used anymore. However, add a new regexp instead of removing the old one for compatibility with old transactions
This commit is contained in:
parent
72aaed43fb
commit
98b637ec4a
1 changed files with 2 additions and 0 deletions
|
|
@ -82,6 +82,8 @@ class Transaction(FrenchTransaction):
|
|||
FrenchTransaction.TYPE_CARD),
|
||||
(re.compile('^VIR COOPA (?P<dd>\d{2})/(?P<mm>\d{2}) (?P<text>.*)'),
|
||||
FrenchTransaction.TYPE_TRANSFER),
|
||||
(re.compile('^COOPA (?P<dd>\d{2})/(?P<mm>\d{2}) (?P<text>.*)'),
|
||||
FrenchTransaction.TYPE_TRANSFER),
|
||||
(re.compile('^VIR(EMENT|EMT| SEPA EMET :)? (?P<text>.*?)(- .*)?$'),
|
||||
FrenchTransaction.TYPE_TRANSFER),
|
||||
(re.compile('^(PRLV|PRELEVEMENT) SEPA (?P<text>.*?)(- .*)?$'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue