Changeset 16138 for main/kofacustom.iuokada/trunk/src/kofacustom/iuokada
- Timestamp:
- 30 Jun 2020, 07:02:41 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/utils.py
r16136 r16138 113 113 return _(u'Session configuration object is not available.'), None 114 114 # Determine fee. 115 if category in ('schoolfee', 'schoolfee40', 116 'secondinstal'): 115 if category in ('schoolfee', 'schoolfee40', 'secondinstal'): 117 116 rpm = self._requiredPaymentsMissing(student, p_session) 118 117 if rpm: … … 216 215 return None, payment 217 216 217 def setBalanceDetails(self, category, student, 218 balance_session, balance_level, balance_amount): 219 """Create a balance payment ticket and set the payment data 220 as selected by the student. 221 """ 222 if category in ('schoolfee', 'schoolfee40', 'secondinstal'): 223 rpm = self._requiredPaymentsMissing(student, balance_session) 224 if rpm: 225 return rpm, None 226 return super( 227 CustomStudentsUtils, self).setBalanceDetails(category, student, 228 balance_session, balance_level, balance_amount) 229 218 230 def constructMatricNumber(self, student): 219 231 """Fetch the matric number counter which fits the student and
Note: See TracChangeset for help on using the changeset viewer.