From a9be0e00bb3090fbb1f1ca1ec0c5dfdabaf254d3 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Tue, 2 Sep 2014 11:56:21 +0200 Subject: [PATCH] add transaction patterns --- modules/lcl/pages.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/lcl/pages.py b/modules/lcl/pages.py index 28464316..f36328c2 100644 --- a/modules/lcl/pages.py +++ b/modules/lcl/pages.py @@ -224,12 +224,15 @@ class Transaction(FrenchTransaction): FrenchTransaction.TYPE_CARD), (re.compile('^(?P(PRELEVEMENT|TELEREGLEMENT|TIP)) (?P.*)'), FrenchTransaction.TYPE_ORDER), - (re.compile('^(?PECHEANCEPRET)(?P.*)'), FrenchTransaction.TYPE_LOAN_PAYMENT), - (re.compile('^(?PVIR(EM(EN)?)?T?(.PERMANENT)? ((RECU|FAVEUR) TIERS|SEPA RECU)?)( /FRM)?(?P.*)'), + (re.compile('^(?P(ECHEANCE\w*)?PRET)(?P.*)'), FrenchTransaction.TYPE_LOAN_PAYMENT), + (re.compile('^(?P(EVI|VIR(EM(EN)?)?T?)(.PERMANENT)? ((RECU|FAVEUR) TIERS|SEPA RECU)?)( /FRM)?(?P.*)'), FrenchTransaction.TYPE_TRANSFER), (re.compile('^(?PREMBOURST)(?P.*)'), FrenchTransaction.TYPE_PAYBACK), (re.compile('^(?PCOM(MISSIONS?)?)(?P.*)'), FrenchTransaction.TYPE_BANK), (re.compile('^(?P(?PREMUNERATION).*)'), FrenchTransaction.TYPE_BANK), + (re.compile('^(?P(?PABON.?*)\w*.*)'), FrenchTransaction.TYPE_BANK), + (re.compile('^(?P(?PRESULTAT .?*)\w*.*)'), FrenchTransaction.TYPE_BANK), + (re.compile('^(?P(?PTRAIT\..?*)\w*.*)'), FrenchTransaction.TYPE_BANK), (re.compile('^(?PREM CHQ) (?P.*)'), FrenchTransaction.TYPE_DEPOSIT), ]