CrAgr backend: cents were not correctly formatted before form submit.
This commit is contained in:
parent
a93b1a7271
commit
c5c6ddb742
1 changed files with 2 additions and 2 deletions
|
|
@ -160,8 +160,8 @@ class Cragr(BaseBrowser):
|
||||||
self.select_form(nr=0)
|
self.select_form(nr=0)
|
||||||
self['numCompteEmetteur'] = ['%s' % self.dict_find_value(source_accounts, account)]
|
self['numCompteEmetteur'] = ['%s' % self.dict_find_value(source_accounts, account)]
|
||||||
self['numCompteBeneficiaire'] = ['%s' % self.dict_find_value(target_accounts, to)]
|
self['numCompteBeneficiaire'] = ['%s' % self.dict_find_value(target_accounts, to)]
|
||||||
self['montantPartieEntiere'] = '%s' % amount_euros
|
self['montantPartieEntiere'] = '%s' % amount_euros
|
||||||
self['montantPartieDecimale'] = '%s' % amount_cents
|
self['montantPartieDecimale'] = '%02d' % amount_cents
|
||||||
self['libelle'] = reason
|
self['libelle'] = reason
|
||||||
self.submit()
|
self.submit()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue