Changeset 18135
- Timestamp:
- 21 Jul 2025, 15:18:07 (5 hours ago)
- Location:
- main/kofacustom.iuokada/trunk/src/kofacustom/iuokada
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/interswitch/tests.py
r18133 r18135 104 104 self.browser.getControl(name="form.p_option").value = ['first'] 105 105 self.browser.getControl("Create payment").click() 106 self.assertTrue(' must be paid before Tution Fee' in self.browser.contents)106 self.assertTrue('Sundry charges must be paid before tuition.' in self.browser.contents) 107 107 self.browser.getControl(name="form.p_category").value = ['required_combi'] 108 108 self.browser.getControl("Create payment").click() -
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/utils.py
r18132 r18135 191 191 if student.state not in (CLEARANCE, REQUESTED, CLEARED, RETURNING): 192 192 return 193 193 194 # Has the required combi payment been made? 194 195 for ticket in student['payments'].values(): … … 197 198 ticket.p_state == 'paid': 198 199 return 199 # If not, check single payments 200 201 # If not, check single payments (no longer possible) 200 202 rp = self._collect_required_payment_items(student) 201 203 cats_missing = deepcopy(rp) … … 215 217 if not cats_missing: 216 218 return 217 return "%s must be paid before Tution Fee." % ', '.join( 218 cats_missing.values()) 219 #return "%s must be paid before Tution Fee." % ', '.join( 220 # cats_missing.values()) 221 222 return "Sundry charges must be paid before tuition." 219 223 220 224 @property -
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/utils/utils.py
r18133 r18135 77 77 'makeup_admin': 'Make-Up Registration Fee', 78 78 'id_card': 'Student ID Card', 79 'required_combi': 'Required Sundry Payment',79 'required_combi': 'Required Sundry Charges', 80 80 'pg_other': 'PG Other Charges', 81 81 'jupeb_form':'JUPEB Form Fee', … … 129 129 'late_registration': 'Late Registration Fee', 130 130 'clinical': 'Clinical Fee (Medical Students)', 131 'pharmlab': 'Pharmacy Lab Support Fee',132 131 'lo_ident': 'Letter of Identification Fee', 133 132 'change_course': 'Change of Course Fee', … … 145 144 #'resit9': '9 Make-Up Examination Courses', 146 145 'makeup_admin': 'Make-Up Registration Fee', 147 'required_combi': 'Required Sundry Payment',146 'required_combi': 'Required Sundry Charges', 148 147 'pg_other': 'PG Other Charges', 149 148 #'jupeb_form':'JUPEB Form Fee', … … 171 170 ## sundry: 'develop': 'Development Fee', 172 171 ## sundry: 'health_insurance': 'Student Health Insurance', 172 ## sundry: 'pharmlab': 'Pharmacy Lab Support Fee', 173 173 } 174 174 … … 241 241 'fine': 'Fine', 242 242 'id_card': 'Student ID Card', 243 #'required_combi': 'Required Sundry Payment',243 #'required_combi': 'Required Sundry Charges', 244 244 'pg_other': 'PG Other Charges', 245 245 #'jupeb_form':'JUPEB Form Fee', … … 304 304 ## sundry: 'develop': 'Development Fee', 305 305 ## sundry: 'health_insurance': 'Student Health Insurance', 306 ## sundry: 'pharmlab': 'Pharmacy Lab Support Fee', 306 307 'clinical': 'Clinical Fee (Medical Students)', 307 308 'late_registration': 'Late Registration Fee', 308 'pharmlab': 'Pharmacy Lab Support Fee',309 309 'lo_ident': 'Letter of Identification Fee', 310 310 'change_course': 'Change of Course Fee',
Note: See TracChangeset for help on using the changeset viewer.