Changeset 16479
- Timestamp:
- 8 May 2021, 17:06:36 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.fceokene/trunk/src/waeup/fceokene/students/utils.py
r16463 r16479 72 72 return new_session, new_level 73 73 74 def _nce3PaymentMade(self, student ):74 def _nce3PaymentMade(self, student, p_level): 75 75 if len(student['payments']): 76 76 for ticket in student['payments'].values(): 77 77 if ticket.p_state in ('paid', 'scholarship', 'waived') and \ 78 ticket.p_level == 300and \78 ticket.p_level == p_level and \ 79 79 ticket.p_category == 'schoolfee': 80 80 return True … … 127 127 return _(u'Acceptance Fee payments not allowed.'), None 128 128 elif category == 'third_semester' and student.current_mode == 'nce_ft' \ 129 and p_level == 300:130 if not self._nce3PaymentMade(student ):129 and p_level in (300, 310, 320): 130 if not self._nce3PaymentMade(student, p_level): 131 131 return _(u'Make NCE 3 school fee payment first.'), None 132 132 if student.depcode in ARTS:
Note: See TracChangeset for help on using the changeset viewer.