- Timestamp:
- 21 Nov 2020, 08:18:45 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.dspg/trunk/src/kofacustom/dspg/interswitch/browser.py
r16309 r16323 178 178 xmldict['institution_acct'] = '0039782431' 179 179 xmldict['institution_bank_id'] = '11' 180 elif self.context.p_category == 'eed_extra': 181 self.pay_item_id = '000' 182 xmldict['institution_acct'] = '0039782431' 183 xmldict['institution_bank_id'] = '11' 180 184 elif self.context.p_category == 'olevel_results_1': 181 185 self.pay_item_id = '113' … … 202 206 elif self.context.p_category == 'lsfp_penalty': 203 207 self.pay_item_id = '102' 208 xmldict['institution_acct'] = '1012808851' 209 xmldict['institution_bank_id'] = '117' 210 elif self.context.p_category == 'eng_1': 211 self.pay_item_id = '118' 212 xmldict['institution_acct'] = '2024473077' 213 xmldict['institution_bank_id'] = '8' 214 elif self.context.p_category == 'eng_2': 215 self.pay_item_id = '119' 216 xmldict['institution_acct'] = '2024473077' 217 xmldict['institution_bank_id'] = '8' 218 elif self.context.p_category == 'bfn': 219 self.pay_item_id = '125' 220 xmldict['institution_acct'] = '0048039049' 221 xmldict['institution_bank_id'] = '11' 222 elif self.context.p_category == 'facilities': 223 self.pay_item_id = '000' 204 224 xmldict['institution_acct'] = '1012808851' 205 225 xmldict['institution_bank_id'] = '117' … … 293 313 </payment_item_detail>""" % xmldict 294 314 295 if self.context.p_category == 'eng_1':296 self.pay_item_id = '118'297 xmltext = """<payment_item_detail>298 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s">299 <item_detail item_id="1" item_name="%(institution_item_name)s" item_amt="%(institution_amt)d" bank_id="8" acct_num="2024473077" />300 </item_details>301 </payment_item_detail>""" % xmldict302 303 if self.context.p_category == 'eng_2':304 self.pay_item_id = '119'305 xmltext = """<payment_item_detail>306 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s">307 <item_detail item_id="1" item_name="%(institution_item_name)s" item_amt="%(institution_amt)d" bank_id="8" acct_num="2024473077" />308 </item_details>309 </payment_item_detail>""" % xmldict310 311 315 if self.context.p_category == 'sbs_1': 312 316 self.pay_item_id = '120' … … 335 339 <item_detail item_id="1" item_name="SBS Dues II" item_amt="%(amt1)d" bank_id="11" acct_num="0010772626" /> 336 340 <item_detail item_id="2" item_name="ABSOBS" item_amt="%(amt2)d" bank_id="8" acct_num="2008185712" /> 337 </item_details>338 </payment_item_detail>""" % xmldict339 340 if self.context.p_category == 'bfn':341 self.pay_item_id = '125'342 xmltext = """<payment_item_detail>343 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s">344 <item_detail item_id="1" item_name="%(institution_item_name)s" item_amt="%(institution_amt)d" bank_id="11" acct_num="0048039049" />345 341 </item_details> 346 342 </payment_item_detail>""" % xmldict
Note: See TracChangeset for help on using the changeset viewer.