Changeset 16693 for main/waeup.aaue/trunk/src/waeup/aaue
- Timestamp:
- 2 Nov 2021, 17:21:20 (3 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue/students/reports
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/students/reports/raw_score_report.py
r16676 r16693 68 68 69 69 def _excluded(self, level_obj): 70 """ 71 """ 72 final_level = max(level_obj.student['studycourse'].keys()) 73 # Filter out all students with extension levels. 74 # Filter out all students with extension levels (only if end_level has been selected) 75 if level_obj.level == level_obj.student['studycourse'].certificate.end_level: 76 if int(final_level) > level_obj.student['studycourse'].certificate.end_level: 77 return True 78 final_level_obj = level_obj.student['studycourse'][final_level] 79 if final_level_obj.remark not in ( 70 # Do not list student if selecetd level is not final or an extension 71 if level_obj.level < level_obj.student['studycourse'].certificate.end_level: 72 return True 73 # Filter out students with extension levels higher than selected level 74 final_level = int(max(level_obj.student['studycourse'].keys())) 75 if final_level > level_obj.level: 76 return True 77 if level_obj.remark not in ( 80 78 'Pass', '3s_rd_s', '2s_2_s', '2s_1_s', '1s_st_s'): 81 79 return True -
main/waeup.aaue/trunk/src/waeup/aaue/students/reports/session_results_presentation.py
r16676 r16693 124 124 125 125 def _excluded(self, level_obj): 126 """ 127 """ 128 final_level = max(level_obj.student['studycourse'].keys()) 129 # Filter out all students with extension levels (only if end_level has been selected) 130 if level_obj.level == level_obj.student['studycourse'].certificate.end_level: 131 if int(final_level) > level_obj.student['studycourse'].certificate.end_level: 132 return True 133 final_level_obj = level_obj.student['studycourse'][final_level] 134 if final_level_obj.remark not in ( 126 # Do not list student if selecetd level is not final or an extension 127 if level_obj.level < level_obj.student['studycourse'].certificate.end_level: 128 return True 129 # Filter out students with extension levels higher than selected level 130 final_level = int(max(level_obj.student['studycourse'].keys())) 131 if final_level > level_obj.level: 132 return True 133 if level_obj.remark not in ( 135 134 'Pass', '3s_rd_s', '2s_2_s', '2s_1_s', '1s_st_s', 136 135 'Merit', 'Credit', 'Distinction'):
Note: See TracChangeset for help on using the changeset viewer.