Changeset 14411
- Timestamp:
- 17 Jan 2017, 06:13:10 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py
r14402 r14411 43 43 44 44 def getDegreeClassNumber(self, level_obj): 45 if level_obj.gpa_params[1] == 0: 46 return 0 45 47 certificate = getattr(level_obj.__parent__,'certificate',None) 46 48 end_level = getattr(certificate, 'end_level', None) 47 49 if end_level and level_obj.student.current_level >= end_level: 48 50 failed_courses = level_obj.passed_params[4] 51 not_taken_courses = level_obj.passed_params[5] 49 52 if '_m' in failed_courses: 53 return 0 54 if len(not_taken_courses): 55 return 0 56 if level_obj.level_verdict == 'FRNS': 50 57 return 0 51 58 # use gpa_boundaries above … … 219 226 and category != 'clearance_incl': 220 227 return _("Additional fees must be included."), None 221 if student.faccode == 'FP': 228 if student.faccode == 'FP': # includes IJMBE 222 229 amount = academic_session.clearance_fee_fp 223 230 elif student.current_mode.endswith('_pt'):
Note: See TracChangeset for help on using the changeset viewer.