Changeset 14258
- Timestamp:
- 5 Nov 2016, 04:33:57 (8 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/interfaces.py
r14248 r14258 152 152 ) 153 153 154 text_book_1_fee = schema.Float(154 gst_text_book_1_fee = schema.Float( 155 155 title = _(u'Text Book Fee GST101 GST102'), 156 156 default = 0.0, … … 158 158 ) 159 159 160 text_book_2_fee = schema.Float(160 gst_text_book_2_fee = schema.Float( 161 161 title = _(u'Text Book Fee GST111 GST112'), 162 162 default = 0.0, … … 164 164 ) 165 165 166 text_book_3_fee = schema.Float(166 gst_text_book_3_fee = schema.Float( 167 167 title = _(u'Text Book Fee GST222'), 168 168 default = 0.0, … … 170 170 ) 171 171 172 text_book_4_fee = schema.Float(172 ent_text_book_4_fee = schema.Float( 173 173 title = _(u'Text Book Fee ENT201'), 174 174 default = 0.0, … … 176 176 ) 177 177 178 registration_1_fee = schema.Float(178 gst_registration_1_fee = schema.Float( 179 179 title = _(u'Registration Fee GST101 GST102 GST111 GST112'), 180 180 default = 0.0, … … 182 182 ) 183 183 184 registration_2_fee = schema.Float(184 gst_registration_2_fee = schema.Float( 185 185 title = _(u'Registration Fee GST222'), 186 186 default = 0.0, … … 188 188 ) 189 189 190 registration_3_fee = schema.Float(190 ent_registration_3_fee = schema.Float( 191 191 title = _(u'Registration Fee ENT201'), 192 192 default = 0.0, -
main/waeup.aaue/trunk/src/waeup/aaue/interswitch/browser.py
r14248 r14258 472 472 </payment_item_detail>""" % xmldict 473 473 474 # GST Fees 475 elif self.context.p_category.startswith('gst_'): 476 self.pay_item_id = '116' 477 xmldict['institution_acct'] = '1010893123' 478 xmldict['institution_bank_id'] = '117' 479 xmldict['institution_amt'] = 100 * ( 480 gateway_net_amt(self.context.amount_auth)) 481 xmltext = """<payment_item_detail> 482 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s"> 483 <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" /> 484 </item_details> 485 </payment_item_detail>""" % xmldict 486 487 # ENT Fees 488 elif self.context.p_category.startswith('ent_'): 489 self.pay_item_id = '118' 490 xmldict['institution_acct'] = '6220029828' 491 xmldict['institution_bank_id'] = '51' 492 xmldict['institution_amt'] = 100 * ( 493 gateway_net_amt(self.context.amount_auth)) 494 xmltext = """<payment_item_detail> 495 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s"> 496 <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" /> 497 </item_details> 498 </payment_item_detail>""" % xmldict 499 500 # Faculty and Departmental Dues 501 elif self.context.p_category == 'fac_dep': 502 self.pay_item_id = '117' 503 xmldict['institution_acct'] = '1010827641' 504 xmldict['institution_bank_id'] = '117' 505 xmldict['institution_amt'] = 100 * ( 506 gateway_net_amt(self.context.amount_auth)) 507 xmltext = """<payment_item_detail> 508 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s"> 509 <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" /> 510 </item_details> 511 </payment_item_detail>""" % xmldict 512 474 513 self.xml_data = """<input type="hidden" name="xml_data" value='%s' />""" % xmltext 475 514 self.context.provider_amt = provider_amt -
main/waeup.aaue/trunk/src/waeup/aaue/utils/utils.py
r14248 r14258 48 48 'concessional': 'Concessional Fee', 49 49 'id_card': 'Student ID Card', 50 ' text_book_1': 'Text Book Fee GST101 GST102',51 ' text_book_2': 'Text Book Fee GST111 GST112',52 ' text_book_3': 'Text Book Fee GST222',53 ' text_book_4': 'Text Book Fee ENT201',54 ' registration_1': 'Registration Fee GST101 GST102 GST111 GST112',55 ' registration_2': 'Registration Fee GST222',56 ' registration_3': 'Registration Fee ENT201',50 'gst_text_book_1': 'Text Book Fee GST101 GST102', 51 'gst_text_book_2': 'Text Book Fee GST111 GST112', 52 'gst_text_book_3': 'Text Book Fee GST222', 53 'ent_text_book_4': 'Text Book Fee ENT201', 54 'gst_registration_1': 'Registration Fee GST101 GST102 GST111 GST112', 55 'gst_registration_2': 'Registration Fee GST222', 56 'ent_registration_3': 'Registration Fee ENT201', 57 57 'fac_dep': 'Faculty and Departmental Dues', 58 58 } … … 77 77 'concessional': 'Concessional Fee', 78 78 #'id_card': 'Student ID Card', 79 ' text_book_1': 'Text Book Fee GST101 GST102',80 ' text_book_2': 'Text Book Fee GST111 GST112',81 ' text_book_3': 'Text Book Fee GST222',82 ' text_book_4': 'Text Book Fee ENT201',83 ' registration_1': 'Registration Fee GST101 GST102 GST111 GST112',84 ' registration_2': 'Registration Fee GST222',85 ' registration_3': 'Registration Fee ENT201',79 'gst_text_book_1': 'Text Book Fee GST101 GST102', 80 'gst_text_book_2': 'Text Book Fee GST111 GST112', 81 'gst_text_book_3': 'Text Book Fee GST222', 82 'ent_text_book_4': 'Text Book Fee ENT201', 83 'gst_registration_1': 'Registration Fee GST101 GST102 GST111 GST112', 84 'gst_registration_2': 'Registration Fee GST222', 85 'ent_registration_3': 'Registration Fee ENT201', 86 86 'fac_dep': 'Faculty and Departmental Dues', 87 87 } … … 107 107 'matric_gown': 'Matriculation Gown Fee', 108 108 'id_card': 'Student ID Card', 109 ' text_book_1': 'Text Book Fee GST101 GST102',110 ' text_book_2': 'Text Book Fee GST111 GST112',111 ' text_book_3': 'Text Book Fee GST222',112 ' text_book_4': 'Text Book Fee ENT201',113 ' registration_1': 'Registration Fee GST101 GST102 GST111 GST112',114 ' registration_2': 'Registration Fee GST222',115 ' registration_3': 'Registration Fee ENT201',109 'gst_text_book_1': 'Text Book Fee GST101 GST102', 110 'gst_text_book_2': 'Text Book Fee GST111 GST112', 111 'gst_text_book_3': 'Text Book Fee GST222', 112 'ent_text_book_4': 'Text Book Fee ENT201', 113 'gst_registration_1': 'Registration Fee GST101 GST102 GST111 GST112', 114 'gst_registration_2': 'Registration Fee GST222', 115 'ent_registration_3': 'Registration Fee ENT201', 116 116 'fac_dep': 'Faculty and Departmental Dues', 117 117 }
Note: See TracChangeset for help on using the changeset viewer.