Changeset 15372 for main/kofacustom.dspg/trunk/src/kofacustom/dspg
- Timestamp:
- 27 Mar 2019, 17:56:17 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.dspg/trunk/src/kofacustom/dspg/students/utils.py
r15360 r15372 175 175 u'Session configuration object is not available.' 176 176 ), None 177 if local(student): 178 amount = getattr(certificate, 'school_fee_2', 0.0) 179 else: 180 amount = getattr(certificate, 'school_fee_4', 0.0) 177 if p_level in (100, 110, 120, 130): 178 # First-year probating students are treated like 179 # fresh students. 180 if local(student): 181 amount = getattr(certificate, 'school_fee_1', 0.0) 182 else: 183 amount = getattr(certificate, 'school_fee_3', 0.0) 184 else: 185 if local(student): 186 amount = getattr(certificate, 'school_fee_2', 0.0) 187 else: 188 amount = getattr(certificate, 'school_fee_4', 0.0) 181 189 elif student.is_postgrad and student.state == PAID: 182 190 # Returning postgraduate students also pay for the
Note: See TracChangeset for help on using the changeset viewer.