Changeset 18330
- Timestamp:
- 15 Sep 2026, 10:02:13 (2 months ago)
- Location:
- main/kofacustom.iuokada/trunk/src/kofacustom/iuokada
- Files:
-
- 5 edited
-
interfaces.py (modified) (1 diff)
-
interswitch/browser.py (modified) (1 diff)
-
interswitch/tests.py (modified) (3 diffs)
-
students/utils.py (modified) (6 diffs)
-
utils/utils.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/interfaces.py
r18159 r18330 348 348 ) 349 349 350 endowment_fee = schema.Float( 351 title = _(u'Endowment Fund Fee'), 352 default = 0.0, 353 required = False, 354 ) 355 350 356 # CDL Portal Fees only 351 357 -
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/interswitch/browser.py
r18258 r18330 74 74 'pg_other': ('0040621193','31'), 75 75 'municipal_fresh': ('0040621193','31'), 76 'matric': ('0040621193','31') 76 'matric': ('0040621193','31'), 77 'endowment': ('1312373440','31'), 77 78 } 78 79 -
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/interswitch/tests.py
r18184 r18330 119 119 self.app['configuration']['2025'].id_card_fee = 10000.0 120 120 self.app['configuration']['2025'].medical_screening_fee = 10000.0 121 self.app['configuration']['2025'].endowment_fee = 10000.0 121 122 self.browser.getControl(name="form.p_category").value = ['required_combi'] 122 123 self.browser.getControl("Create payment").click() … … 127 128 self.browser.getLink(self.value).click() 128 129 self.assertTrue( 129 '<span>1 30000.0</span>' in self.browser.contents)130 '<span>140000.0</span>' in self.browser.contents) 130 131 self.payment_url = self.browser.url 131 132 self.browser.getLink("Pay via Interswitch", index=0).click() … … 135 136 # 250 gateway charge have been added 136 137 payment = self.student['payments'][self.value] 137 self.assertEqual(payment.amount_auth, 1 30800)138 self.assertEqual(payment.net_amt, 1 30000)139 self.assertTrue( 140 '<input type="hidden" name="amount" value="1 3080000" />' in141 self.browser.contents) 142 self.assertTrue( 143 'item_id=" 6" item_name="registration_fresh" item_amt="2000000" bank_id="31" acct_num="0040621193"' in144 self.browser.contents) 145 self.assertTrue( 146 'item_id="1 2" item_name="parentsconsult" item_amt="1000000" bank_id="117" acct_num="1012355544"' in138 self.assertEqual(payment.amount_auth, 140800) 139 self.assertEqual(payment.net_amt, 140000) 140 self.assertTrue( 141 '<input type="hidden" name="amount" value="14080000" />' in 142 self.browser.contents) 143 self.assertTrue( 144 'item_id="7" item_name="registration_fresh" item_amt="2000000" bank_id="31" acct_num="0040621193"' in 145 self.browser.contents) 146 self.assertTrue( 147 'item_id="13" item_name="parentsconsult" item_amt="1000000" bank_id="117" acct_num="1012355544"' in 147 148 self.browser.contents) 148 149 -
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/utils.py
r18236 r18330 62 62 'medical_screening': 'Medical Screening Fees', 63 63 'science': 'Science Bench Fee', 64 'endowment': 'Endowment Fund', 64 65 } 65 66 … … 76 77 'id_card': 'I.D. Card', 77 78 'medical_screening': 'Medical Screening Fees', 79 'endowment': 'Endowment Fund', 78 80 } 79 81 … … 86 88 'municipal_returning': 'Returning Students Municipal Fee', 87 89 'health_insurance': 'Student Health Insurance', 90 'endowment': 'Endowment Fund', 88 91 } 89 92 … … 100 103 'conv': 'Convocation Fees', 101 104 'grad_clearance': 'Clearance Fees', 105 'endowment': 'Endowment Fund', 102 106 } 103 107 … … 111 115 'health_insurance': 'Student Health Insurance', 112 116 'pharmlab': 'Pharmacy Lab Support Fee', 117 'endowment': 'Endowment Fund', 113 118 } 114 119 … … 125 130 'grad_clearance': 'Clearance Fees', 126 131 'pharmlab': 'Pharmacy Lab Support Fee', 132 'endowment': 'Endowment Fund', 127 133 } 128 134 -
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/utils/utils.py
r18273 r18330 91 91 'brought_fwd': 'Balance Brought Forward', 92 92 'health_insurance': 'Student Health Insurance', 93 'endowment': 'Endowment Fund', 93 94 # CDL Portal Fees only 94 95 'medical':'Medical Services', … … 179 180 ## sundry: 'health_insurance': 'Student Health Insurance', 180 181 ## sundry: 'pharmlab': 'Pharmacy Lab Support Fee', 182 ## sundry: 'endowment': 'Endowment Fund', 181 183 } 182 184 … … 223 225 'schoolfee': 'Tuition, Accommodation, Adm. Charges', 224 226 'clearance': 'Acceptance Fee', 225 226 ## sundry: 'registration_fresh': 'Registration Fee (Fresh)',227 ## sundry: 'registration_return': 'Registration Fee (Returning)',228 ## sundry: 'grad_clearance': 'Clearance Fee',229 ## sundry: 'science': 'Science Bench Fee',230 ## sundry: 'medical_screening':'Medical Screening Fees',231 ## sundry: 'municipal_fresh': 'Municipal Fee (Fresh Students)',232 ## sundry: 'municipal_returning': 'Municipal Fee (Returning Students)',233 ## sundry: 'alumni': 'Alumni Fee',234 ## sundry: 'conv': 'Convocation Fee',235 ## sundry: 'matric': 'Matriculation Fee',236 ## sundry: 'waecneco': 'WAEC/NECO Verification',237 ## sundry: 'jambver': 'JAMB Verification',238 ## sundry: 'book': 'Book Deposit',239 ## sundry: 'parentsconsult': 'Parents Consultative Forum (PCF) Fee',240 ## sundry: 'id_card': 'Student ID Card',241 ## sundry: 'develop': 'Development Fee',242 ## sundry: 'health_insurance': 'Student Health Insurance',243 ## sundry: 'pharmlab': 'Pharmacy Lab Support Fee',244 245 227 'application': 'Application Fee', 246 228 'late_registration': 'Late Registration Fee', … … 296 278 _COMBI_PAYMENT_CATEGORIES = { 297 279 #'registration': 'Registration Fee', 298 ## sundry: 'registration_fresh': 'Registration Fee (Fresh)',299 ## sundry: 'registration_return': 'Registration Fee (Returning)',300 ## sundry: 'grad_clearance': 'Clearance Fee',301 ## sundry: 'science': 'Science Bench Fee',302 ## sundry: 'medical_screening':'Medical Screening Fees',303 ## sundry: 'municipal_fresh': 'Municipal Fee (Fresh Students)',304 ## sundry: 'municipal_returning': 'Municipal Fee (Returning Students)',305 ## sundry: 'alumni': 'Alumni Fee',306 ## sundry: 'conv': 'Convocation Fee',307 ## sundry: 'matric': 'Matriculation Fee',308 ## sundry: 'waecneco': 'WAEC/NECO Verification',309 ## sundry: 'jambver': 'JAMB Verification',310 ## sundry: 'book': 'Book Deposit',311 ## sundry: 'parentsconsult': 'Parents Consultative Forum (PCF) Fee',312 ## sundry: 'id_card': 'Student ID Card',313 ## sundry: 'develop': 'Development Fee',314 ## sundry: 'health_insurance': 'Student Health Insurance',315 ## sundry: 'pharmlab': 'Pharmacy Lab Support Fee',316 280 'clinical': 'Clinical Fee (Medical Students)', 317 281 'late_registration': 'Late Registration Fee',
Note: See TracChangeset for help on using the changeset viewer.
