bnporc company add iban field to accounts
This commit is contained in:
parent
94cb1c4e21
commit
4f1fd6b980
1 changed files with 1 additions and 0 deletions
|
|
@ -107,6 +107,7 @@ class AccountsPage(LoggedPage, JsonPage):
|
||||||
for a in g.get('listeComptes'):
|
for a in g.get('listeComptes'):
|
||||||
yield Account.from_dict({
|
yield Account.from_dict({
|
||||||
'id': a.get('numeroCompte'),
|
'id': a.get('numeroCompte'),
|
||||||
|
'iban': a.get('numeroCompte'),
|
||||||
'type': self.FAMILY_TO_TYPE.get(a.get('libelleType')) or Account.TYPE_UNKNOWN,
|
'type': self.FAMILY_TO_TYPE.get(a.get('libelleType')) or Account.TYPE_UNKNOWN,
|
||||||
'label': '%s %s' % (a.get('libelleType'), a.get('libelleTitulaire')),
|
'label': '%s %s' % (a.get('libelleType'), a.get('libelleTitulaire')),
|
||||||
'currency': a.get('deviseTenue'),
|
'currency': a.get('deviseTenue'),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue