Changeset 14413 for main/waeup.aaue/trunk
- Timestamp:
- 17 Jan 2017, 08:04:15 (8 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/studylevel.py
r14412 r14413 172 172 @property 173 173 def remark(self): 174 if self.gpa_params[1] == 0: 175 # No credits weighted at this level 176 return 'FRNS' 177 if self.level_verdict == 'FRNS': 178 return 'FRNS' 174 179 certificate = getattr(self.__parent__,'certificate',None) 175 180 end_level = getattr(certificate, 'end_level', None) … … 184 189 return 'FRNS' 185 190 if len(self.passed_params[5]): 186 return 'FRNS'187 if self.level_verdict == 'FRNS':188 191 return 'FRNS' 189 192 if self.cumulative_params[0] < failed_limit: -
main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py
r14411 r14413 44 44 def getDegreeClassNumber(self, level_obj): 45 45 if level_obj.gpa_params[1] == 0: 46 # No credits weighted 47 return 0 48 if level_obj.level_verdict == 'FRNS': 46 49 return 0 47 50 certificate = getattr(level_obj.__parent__,'certificate',None) … … 53 56 return 0 54 57 if len(not_taken_courses): 55 return 056 if level_obj.level_verdict == 'FRNS':57 58 return 0 58 59 # use gpa_boundaries above
Note: See TracChangeset for help on using the changeset viewer.