diff --git a/modules/bnporc/enterprise/pages.py b/modules/bnporc/enterprise/pages.py index 5762f240..e20c06bd 100644 --- a/modules/bnporc/enterprise/pages.py +++ b/modules/bnporc/enterprise/pages.py @@ -190,7 +190,7 @@ class HistoryPage(BEPage): date = datetime.strptime(tddate, '%d/%m/%Y') val = datetime.strptime(tdval, '%d/%m/%Y') t.parse(date, tdlabel) - t._val = val # FIXME is it rdate? date? + t.vdate = val yield t diff --git a/modules/societegenerale/sgpe/pages.py b/modules/societegenerale/sgpe/pages.py index 80e63054..a5627c5a 100644 --- a/modules/societegenerale/sgpe/pages.py +++ b/modules/societegenerale/sgpe/pages.py @@ -112,6 +112,7 @@ class AccountsPage(SGPEPage): account.currency = account.get_currency(tdbalance) yield account + class CardsPage(SGPEPage): COL_ID = 0 COL_LABEL = 1 @@ -165,7 +166,6 @@ class CardsPage(SGPEPage): yield account - class HistoryPage(SGPEPage): def iter_transactions(self, account, basecount): table = self.parser.select(self.document.getroot(), '#tab-corps', 1) @@ -189,7 +189,7 @@ class HistoryPage(SGPEPage): l1 = ' '.join(l1.split()) l2 = ' '.join(l2.split()) t.parse(date, l1 + ' ' + l2) - t._val = val # FIXME is it rdate? date? + t.vdate = val yield t def has_next(self): @@ -199,6 +199,7 @@ class HistoryPage(SGPEPage): return int(end.text.replace('/', '')) > cur return False + class CardHistoryPage(SGPEPage): COL_DATE = 0 COL_LABEL = 1