Changeset 15219 for main/kofacustom.dspg/trunk/src/kofacustom
- Timestamp:
- 8 Nov 2018, 17:53:37 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.dspg/trunk/src/kofacustom/dspg/interswitch/browser.py
r15214 r15219 182 182 xmldict['institution_acct'] = '2015327204' 183 183 xmldict['institution_bank_id'] = '8' 184 elif self.context.p_category == 'hostel_maintenance': 185 provider_amt = 500.0 186 self.pay_item_id = '117' 187 xmldict['institution_acct'] = '2011810353' 188 xmldict['institution_bank_id'] = '8' 189 xmldict['provider_amt'] = 100 * provider_amt 190 xmldict['institution_amt'] = 100 * ( 191 gateway_net_amt(self.context.amount_auth) - provider_amt) 184 192 elif self.context.p_category in SPECIAL_PAYMENT_PARAMS.keys(): 185 193 self.pay_item_id = SPECIAL_PAYMENT_PARAMS[self.context.p_category][0] … … 265 273 </item_details> 266 274 </payment_item_detail>""" % xmldict 267 268 # if student.faccode == 'SPAT':269 # xmltext = """<payment_item_detail>270 #<item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s">271 #<item_detail item_id="1" item_name="Students Welfare" item_amt="%(amt2)d" bank_id="11" acct_num="0037892949" />272 #<item_detail item_id="2" item_name="Anti-Cult Book" item_amt="%(amt3)d" bank_id="11" acct_num="0037892949" />273 #</item_details>274 #</payment_item_detail>""" % xmldict275 275 276 276 self.xml_data = """<input type="hidden" name="xml_data" value='%s' />""" % xmltext
Note: See TracChangeset for help on using the changeset viewer.