- Timestamp:
- 10 Jan 2017, 09:24:58 (8 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/interswitch/browser.py
r14376 r14380 214 214 # been successfully queried/paid beforehand. This 215 215 # requirement applies to students in state 'cleared' and 216 # entry_session greater than 201 3only.216 # entry_session greater than 2012 only. 217 217 if self.context.p_category.startswith('schoolfee') and \ 218 218 student.state == CLEARED and \ -
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.