Changeset 18043 for main/kofacustom.iuokada/trunk
- Timestamp:
- 14 Mar 2025, 01:09:12 (22 hours ago)
- Location:
- main/kofacustom.iuokada/trunk/src/kofacustom/iuokada
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/interswitch/tests.py
r18036 r18043 99 99 self.browser.getControl(name="form.p_option").value = ['first'] 100 100 self.browser.getControl("Create payment").click() 101 self.assertTrue(' Make either single payments or make a' in self.browser.contents)101 self.assertTrue('must be paid before Tution Fee' in self.browser.contents) 102 102 self.browser.getControl(name="form.p_category").value = ['required_combi'] 103 103 self.browser.getControl("Create payment").click() -
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/utils.py
r18037 r18043 183 183 or student.certcode in ('MBBSMED',): 184 184 return 185 # Only in states, which allow to pay school fees, sundry payments 186 # are required 187 if student.state not in (CLEARANCE, REQUESTED, CLEARED, RETURNING): 188 return 185 189 # Has the required combi payment been made? 186 190 for ticket in student['payments'].values(): … … 201 205 if not cats_missing: 202 206 return 203 return "%s must be paid before Tution Fee. Make either single payments or makea 'Required Combi Payment'." % ', '.join(207 return "%s must be paid before Tution Fee. Make a 'Required Combi Payment'." % ', '.join( 204 208 cats_missing.values()) 205 209
Note: See TracChangeset for help on using the changeset viewer.