Changeset 14157
- Timestamp:
- 5 Sep 2016, 07:31:37 (8 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/interfaces.py
r14133 r14157 138 138 """ 139 139 140 def getDegreeClass(level_obj): 141 """Get degree class title (used for SessionResultsPresentation 142 reports). 143 """ 144 140 145 class IStudentsContainer(IKofaObject): 141 146 """A students container contains university students. -
main/waeup.kofa/trunk/src/waeup/kofa/students/reports/session_results_presentation.py
r14155 r14157 85 85 table[len(students_utils.gpa_boundaries)].append(line) 86 86 continue 87 # Session GPA can be determined 88 #gpaclass = students_utils.getClassFromCGPA(level_obj.gpa)[0] 89 90 # 02/09/16: AAUE requested to use the CGPA 91 gpaclass = students_utils.getClassFromCGPA( 92 level_obj.cumulative_params[0])[0] 93 87 gpaclass = students_utils.getDegreeClass(level_obj) 94 88 table[gpaclass].append(line) 95 89 return table -
main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py
r14151 r14157 826 826 return 'N/A' 827 827 828 def getDegreeClass(self, level_obj): 829 """Get degree class title (used for SessionResultsPresentation 830 reports). 831 """ 832 return self.getClassFromCGPA(level_obj.cumulative_params[0])[0] 833 828 834 def renderPDFTranscript(self, view, filename='transcript.pdf', 829 835 student=None,
Note: See TracChangeset for help on using the changeset viewer.