Changeset 14380 for main/waeup.aaue/trunk/src/waeup/aaue/students
- Timestamp:
- 10 Jan 2017, 09:24:58 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/studylevel.py
r14377 r14380 175 175 certificate = getattr(self.__parent__,'certificate',None) 176 176 end_level = getattr(certificate, 'end_level', None) 177 failed_limit = 1.5 178 if self.student.entry_session < 2013: 179 failed_limit = 1.0 177 180 # final level student remark 178 181 if end_level and self.level >= end_level: … … 180 183 if '_m' in failed_courses: 181 184 return 'FRNS' 182 if self.cumulative_params[0] < 1.5:185 if self.cumulative_params[0] < failed_limit: 183 186 return 'Fail' 184 187 if self.cumulative_params[0] < 2.4: … … 192 195 return 'N/A' 193 196 # returning student remark 194 if self.cumulative_params[0] < 1.5:197 if self.cumulative_params[0] < failed_limit: 195 198 return 'Probation' 196 199 if self.cumulative_params[0] < 5.1:
Note: See TracChangeset for help on using the changeset viewer.