Ignore:
Timestamp:
13 Feb 2017, 06:14:08 (8 years ago)
Author:
Henrik Bettermann
Message:

Students at final year level are marked NER if their credits taken fall below 30.

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

    r14532 r14537  
    196196                    # no credits taken
    197197                    return 'NER'
    198             else:
    199                 if self.gpa_params[1] < 30:
    200                     # credits taken below limit
    201                     return 'NER'
     198            elif self.gpa_params[1] < 30:
     199                # credits taken below limit
     200                return 'NER'
    202201            if self.level_verdict in ('FRNS', 'NER', 'NYV'):
    203202                return self.level_verdict
  • main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py

    r14518 r14537  
    8080                    # no credits taken
    8181                    return 0
     82            elif self.gpa_params[1] < 30:
     83                # credits taken below limit
     84                return 0
    8285            failed_courses = level_obj.passed_params[4]
    8386            not_taken_courses = level_obj.passed_params[5]
Note: See TracChangeset for help on using the changeset viewer.