Changeset 16323
- Timestamp:
- 21 Nov 2020, 08:18:45 (4 years ago)
- Location:
- main/kofacustom.dspg/trunk/src/kofacustom/dspg
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.dspg/trunk/src/kofacustom/dspg/interfaces.py
r16309 r16323 370 370 ) 371 371 372 eed_extra_fee = schema.Float( 373 title = _(u'EED Extra Fee'), 374 default = 0.0, 375 required = True, 376 ) 377 372 378 olevel_results_1_fee = schema.Float( 373 379 title = _(u'O Level Results Verification 1'), … … 486 492 conv_fee = schema.Float( 487 493 title = _(u'Convocation Pack'), 494 default = 0.0, 495 required = True, 496 ) 497 498 facilities_fee = schema.Float( 499 title = _(u'Facilities Upgrade Fee'), 488 500 default = 0.0, 489 501 required = True, -
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 -
main/kofacustom.dspg/trunk/src/kofacustom/dspg/utils/utils.py
r16309 r16323 110 110 'eed_1': 'EED 1 Fee', 111 111 'eed_2': 'EED 2 Fee', 112 'eed_extra': 'EED Extra Fee', 112 113 'olevel_results_1': 'O Level Results Verification 1', 113 114 'olevel_results_2': 'O Level Results Verification 2', … … 130 131 'lsfp_penalty':'Late School Fee Payment Penalty', 131 132 'conv':'Convocation Pack', 133 'facilities':'Facilities Upgrade', 132 134 } 133 135 … … 180 182 'eed_1': 'EED 1 Fee', 181 183 'eed_2': 'EED 2 Fee', 184 'eed_extra': 'EED Extra Fee', 182 185 'olevel_results_1': 'O Level Results Verification 1', 183 186 'olevel_results_2': 'O Level Results Verification 2', … … 200 203 'lsfp_penalty':'Late School Fee Payment Penalty', 201 204 'conv':'Convocation Pack', 205 'facilities':'Facilities Upgrade', 202 206 } 203 207
Note: See TracChangeset for help on using the changeset viewer.