Ignore:
Timestamp:
16 Mar 2018, 16:06:52 (7 years ago)
Author:
Henrik Bettermann
Message:

Apply extension level filter also to graduating students raw score report and session results presentation.

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

    r14632 r14972  
    7171        """
    7272        final_level = max(level_obj.student['studycourse'].keys())
     73        # Filter out all students with extension levels.
     74        if int(final_level) > level_obj.student['studycourse'].certificate.end_level:
     75            return True
    7376        final_level_obj = level_obj.student['studycourse'][final_level]
    7477        if final_level_obj.remark not in (
  • main/waeup.aaue/trunk/src/waeup/aaue/students/reports/session_results_presentation.py

    r14918 r14972  
    121121        """
    122122        final_level = max(level_obj.student['studycourse'].keys())
     123        # Filter out all students with extension levels.
     124        if int(final_level) > level_obj.student['studycourse'].certificate.end_level:
     125            return True
    123126        final_level_obj = level_obj.student['studycourse'][final_level]
    124127        if final_level_obj.remark not in (
Note: See TracChangeset for help on using the changeset viewer.