Changeset 16750 for main/kofacustom.dspg/trunk
- Timestamp:
- 17 Jan 2022, 19:55:44 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.dspg/trunk/src/kofacustom/dspg/interswitch/browser.py
r16725 r16750 203 203 xmldict['institution_acct'] = '2017447652' 204 204 xmldict['institution_bank_id'] = '8' 205 elif self.context.p_category == 'hostel_maintenance':206 if self.context.p_item != 'Balance':207 provider_amt = 500.0208 self.pay_item_id = '117'209 xmldict['institution_acct'] = '1012808851'210 xmldict['institution_bank_id'] = '117'205 #elif self.context.p_category == 'hostel_maintenance': 206 # if self.context.p_item != 'Balance': 207 # provider_amt = 500.0 208 # self.pay_item_id = '117' 209 # xmldict['institution_acct'] = '1012808851' 210 # xmldict['institution_bank_id'] = '117' 211 211 elif self.context.p_category == 'lsfp_penalty': 212 212 self.pay_item_id = '102' … … 610 610 <item_detail item_id="1" item_name="PAD" item_amt="%(amt1)d" bank_id="11" acct_num="0160125880" /> 611 611 <item_detail item_id="2" item_name="NAPAS" item_amt="%(amt2)d" bank_id="11" acct_num="0164863395" /> 612 </item_details> 613 </payment_item_detail>""" % xmldict 614 615 if self.context.p_category == 'hostel_maintenance': 616 #if self.context.p_item != 'Balance': 617 # provider_amt = 500.0 618 self.pay_item_id = '117' 619 xmldict['institution_acct'] = '1012808851' 620 xmldict['institution_bank_id'] = '117' 621 xmltext = """<payment_item_detail> 622 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s"> 623 <item_detail item_id="1" item_name="%(institution_item_name)s" item_amt="%(institution_amt)d" bank_id="%(institution_bank_id)s" acct_num="%(institution_acct)s" /> 624 <item_detail item_id="2" item_name="%(provider_item_name)s" item_amt="%(provider_amt)d" bank_id="%(provider_bank_id)s" acct_num="%(provider_acct)s" /> 625 <item_detail item_id="3" item_name="Hostel Due" item_amt="2000" bank_id="11" acct_num="0170897506" /> 612 626 </item_details> 613 627 </payment_item_detail>""" % xmldict
Note: See TracChangeset for help on using the changeset viewer.