CrAgr backend: cents were not correctly formatted before form submit.

This commit is contained in:
Xavier G 2011-04-10 23:48:16 +02:00 committed by Romain Bignon
commit c5c6ddb742

View file

@ -160,8 +160,8 @@ class Cragr(BaseBrowser):
self.select_form(nr=0)
self['numCompteEmetteur'] = ['%s' % self.dict_find_value(source_accounts, account)]
self['numCompteBeneficiaire'] = ['%s' % self.dict_find_value(target_accounts, to)]
self['montantPartieEntiere'] = '%s' % amount_euros
self['montantPartieDecimale'] = '%s' % amount_cents
self['montantPartieEntiere'] = '%s' % amount_euros
self['montantPartieDecimale'] = '%02d' % amount_cents
self['libelle'] = reason
self.submit()