Changeset 15777
- Timestamp:
- 7 Nov 2019, 21:11:31 (5 years ago)
- Location:
- main/kofacustom.edopoly/trunk/src/kofacustom/edopoly
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/interswitch/browser.py
r15259 r15777 74 74 self.redirect(self.url(self.context, '@@index')) 75 75 return 76 self.context.r_company = u'interswitch' 76 77 student = self.student 77 78 xmldict = self.xmldict … … 119 120 self.context.provider_amt = provider_amt 120 121 self.context.gateway_amt = GATEWAY_AMT 121 122 self.amount_auth = int(100 * self.context.amount_auth) 122 123 hashargs = ( 123 124 self.context.p_id + … … 148 149 self.redirect(self.url(self.context, '@@index')) 149 150 return 151 self.context.r_company = u'interswitch' 150 152 xmldict = {} 151 153 provider_amt = 1000.0 … … 191 193 self.context.provider_amt = provider_amt 192 194 self.context.gateway_amt = GATEWAY_AMT 193 195 self.amount_auth = int(100 * self.context.amount_auth) 194 196 hashargs = ( 195 197 self.context.p_id + -
main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/students/tests/test_export.py
r15669 r15777 103 103 result = open(self.outfile, 'rb').read() 104 104 self.assertMatches( 105 'ac,amount_auth,creation_date,gateway_amt, p_category,p_combi,p_current,'105 'ac,amount_auth,creation_date,gateway_amt,net_amt,p_category,p_combi,p_current,' 106 106 'p_id,p_item,p_level,p_session,p_state,payment_date,provider_amt,' 107 107 'r_amount_approved,r_card_num,r_code,r_company,r_desc,' 108 108 'r_pay_reference,thirdparty_amt,student_id,state,' 109 109 'current_session\r\n' 110 '666,12.12,%s-04-01 13:12:01#,, schoolfee,[],1,my-id,p-item,'110 '666,12.12,%s-04-01 13:12:01#,,,schoolfee,[],1,my-id,p-item,' 111 111 '100,%s,paid,%s-04-01 14:12:01#,,12.12,' 112 112 '789,r-code,interswatch,,,,A111111,created,2012\r\n'
Note: See TracChangeset for help on using the changeset viewer.