Changeset 15660 for main/kofacustom.iuokada/trunk/src/kofacustom/iuokada
- Timestamp:
- 10 Oct 2019, 14:24:16 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/utils.py
r15658 r15660 40 40 #: passport pictures is allowed. 41 41 PORTRAIT_CHANGE_STATES = (ADMITTED, CLEARANCE,) 42 43 def warnCreditsOOR(self, studylevel, course=None): 44 """Return message if credits are out of range. In the base 45 package only maximum credits is set. 46 """ 47 if course and studylevel.total_credits + course.credits > 120: 48 return _('Maximum credits exceeded.') 49 elif studylevel.total_credits > 120: 50 return _('Maximum credits exceeded.') 51 return 42 52 43 53 def setPaymentDetails(self, category, student,
Note: See TracChangeset for help on using the changeset viewer.