support currencies
This commit is contained in:
parent
636c5c4bd5
commit
d91dad2b2b
17 changed files with 95 additions and 30 deletions
|
|
@ -110,7 +110,8 @@ class IndexPage(BasePage):
|
|||
account.label = unicode(a.text.strip())
|
||||
account.type = account_type
|
||||
amount = u''.join([txt.strip() for txt in tds[-1].itertext()])
|
||||
account.balance = Decimal(FrenchTransaction.clean_amount(amount.rstrip(' EUR')))
|
||||
account.balance = Decimal(FrenchTransaction.clean_amount(amount))
|
||||
account.currency = account.get_currency(amount)
|
||||
yield account
|
||||
|
||||
def go_history(self, id):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue