Changeset 16494 for main/kofacustom.coewarri/trunk/src/kofacustom
- Timestamp:
- 27 May 2021, 07:34:22 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/students/utils.py
r16493 r16494 101 101 if ticket.p_state == 'paid' and \ 102 102 ticket.p_category == 'lsfp_penalty' and \ 103 ticket.p_session == student.current_session:103 ticket.p_session == p_session: 104 104 return False 105 105 return True … … 199 199 fee_name = category + '_fee' 200 200 amount = getattr(academic_session, fee_name, 0.0) 201 if category == 'lsfp_penalty' and student.state == RETURNING: 202 # Override p_session and p_level 203 p_session, p_level = self.getReturningData(student) 201 204 if amount in (0.0, None): 202 205 return _('Amount could not be determined.'), None
Note: See TracChangeset for help on using the changeset viewer.