fix parameters on request to get professionnal accounts history
This commit is contained in:
parent
566f1f8ef3
commit
20c9f84974
1 changed files with 6 additions and 1 deletions
|
|
@ -127,7 +127,7 @@ class ProAccountsPage(AccountsPage):
|
||||||
COL_ID = 0
|
COL_ID = 0
|
||||||
COL_BALANCE = 1
|
COL_BALANCE = 1
|
||||||
|
|
||||||
ARGS = ['Banque', 'Agence', 'classement', 'Serie', 'SSCompte', 'Devise', 'CodeDeviseCCB', 'LibelleCompte', 'IntituleCompte', 'Indiceclassement', 'IndiceCompte', 'NomClassement']
|
ARGS = ['Banque', 'Agence', 'Classement', 'Serie', 'SSCompte', 'Devise', 'CodeDeviseCCB', 'LibelleCompte', 'IntituleCompte', 'Indiceclassement', 'IndiceCompte', 'NomClassement']
|
||||||
|
|
||||||
def params_from_js(self, text):
|
def params_from_js(self, text):
|
||||||
l = []
|
l = []
|
||||||
|
|
@ -137,10 +137,15 @@ class ProAccountsPage(AccountsPage):
|
||||||
kind = self.group_dict['kind']
|
kind = self.group_dict['kind']
|
||||||
url = '/vos-comptes/IPT/appmanager/transac/' + kind + '?_nfpb=true&_windowLabel=portletInstance_18&_pageLabel=page_synthese_v1' + '&_cdnCltUrl=' + "/transacClippe/" + quote(l.pop(0))
|
url = '/vos-comptes/IPT/appmanager/transac/' + kind + '?_nfpb=true&_windowLabel=portletInstance_18&_pageLabel=page_synthese_v1' + '&_cdnCltUrl=' + "/transacClippe/" + quote(l.pop(0))
|
||||||
args = {}
|
args = {}
|
||||||
|
for input in self.document.xpath('//form[@name="detail"]/input'):
|
||||||
|
args[input.attrib['name']] = input.attrib.get('value', '')
|
||||||
|
|
||||||
for i, key in enumerate(self.ARGS):
|
for i, key in enumerate(self.ARGS):
|
||||||
args[key] = unicode(l[self.ARGS.index(key)]).encode(self.browser.ENCODING)
|
args[key] = unicode(l[self.ARGS.index(key)]).encode(self.browser.ENCODING)
|
||||||
|
|
||||||
|
args['PageDemandee'] = 1
|
||||||
|
args['PagePrecedente'] = 1
|
||||||
|
|
||||||
return url, args
|
return url, args
|
||||||
|
|
||||||
def get_list(self):
|
def get_list(self):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue