Changeset 14915 for main/waeup.kofa/trunk/src/waeup
- Timestamp:
- 30 Nov 2017, 07:44:55 (7 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/reports/session_results_presentation.py
r14914 r14915 214 214 pdf_data.append(Spacer(1, 20)) 215 215 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] 217 218 pdf_data += [Paragraph('<strong>%s</strong>' % gpa_class_name, 218 219 STYLE["Normal"])] … … 241 242 for gpa_class in range(len(students_utils.GPABoundaries())-1,-1,-1): 242 243 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] 244 246 gpa_count = len(self.data[gpa_class]) 245 247 total_count += gpa_count -
main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py
r14914 r14915 817 817 return pdf_stream 818 818 819 def GPABoundaries(self, faccode=None, depcode=None ):819 def GPABoundaries(self, faccode=None, depcode=None, certcode=None): 820 820 return ((1, 'Fail'), 821 821 (1.5, 'Pass'),
Note: See TracChangeset for help on using the changeset viewer.