Ignore:
Timestamp:
30 Nov 2017, 07:44:55 (7 years ago)
Author:
Henrik Bettermann
Message:

GPABoundaries may also depend on certcode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/reports/session_results_presentation.py

    r14914 r14915  
    214214            pdf_data.append(Spacer(1, 20))
    215215            gpa_class_name = students_utils.GPABoundaries(
    216                 faccode=self.faccode, depcode=self.depcode)[gpa_class][1]
     216                faccode=self.faccode, depcode=self.depcode,
     217                certcode=self.certcode)[gpa_class][1]
    217218            pdf_data += [Paragraph('<strong>%s</strong>' % gpa_class_name,
    218219                         STYLE["Normal"])]
     
    241242        for gpa_class in range(len(students_utils.GPABoundaries())-1,-1,-1):
    242243            gpa_class_name = students_utils.GPABoundaries(
    243                 faccode=self.faccode, depcode=self.depcode)[gpa_class][1]
     244                faccode=self.faccode, depcode=self.depcode,
     245                certcode=self.certcode)[gpa_class][1]
    244246            gpa_count = len(self.data[gpa_class])
    245247            total_count += gpa_count
Note: See TracChangeset for help on using the changeset viewer.