Changeset 14415 for main/waeup.aaue/trunk/src/waeup/aaue
- Timestamp:
- 17 Jan 2017, 13:54:55 (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
r14413 r14415 172 172 @property 173 173 def remark(self): 174 if self.gpa_params[1] == 0:175 # No credits weighted at this level176 return 'FRNS'177 if self.level_verdict == 'FRNS':178 return 'FRNS'179 174 certificate = getattr(self.__parent__,'certificate',None) 180 175 end_level = getattr(certificate, 'end_level', None) … … 184 179 # final level student remark 185 180 if end_level and self.level >= end_level: 181 if self.gpa_params[1] == 0: 182 # No credits weighted at this level 183 return 'FRNS' 184 if self.level_verdict in ('FRNS', 'NEOR', 'NEOV'): 185 return self.level_verdict 186 186 if '_m' in self.passed_params[4]: 187 187 return 'FRNS' … … 202 202 return 'N/A' 203 203 # returning student remark 204 if self.gpa_params[1] == 0: 205 # No credits weighted at this level 206 return 'Probation' 207 if self.level_verdict in ('FRNS', 'NEOR', 'NEOV'): 208 return 'Probation' 204 209 if self.cumulative_params[0] < failed_limit: 205 210 return 'Probation' -
main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py
r14413 r14415 43 43 44 44 def getDegreeClassNumber(self, level_obj): 45 """Get degree class number (used for SessionResultsPresentation 46 reports). 47 """ 45 48 if level_obj.gpa_params[1] == 0: 46 49 # No credits weighted 47 50 return 0 48 if level_obj.level_verdict == 'FRNS':51 if level_obj.level_verdict in ('FRNS', 'NEOR', 'NEOV'): 49 52 return 0 50 53 certificate = getattr(level_obj.__parent__,'certificate',None)
Note: See TracChangeset for help on using the changeset viewer.