bnporc[ent]: Get all days in history

This commit is contained in:
Laurent Bachelier 2013-07-24 18:24:41 +02:00
commit 715b7bcd62
2 changed files with 8 additions and 0 deletions

View file

@ -75,5 +75,7 @@ class BNPEnterprise(BaseBrowser):
def iter_history(self, account):
if not self.is_on_page(HistoryPage):
self.location('/ROP?Action=F_RELCO&ch4=%s&ch8=2000' % account._link_id)
d1, d2 = self.page.get_date_range()
self.location('/ROP?Action=F_RELCO&ch4=%s&ch5=%s&ch9=%s&ch8=2000' % (account._link_id, d1, d2))
for transaction in self.page.iter_history():
yield transaction