Changeset 14915
- Timestamp:
- 30 Nov 2017, 07:44:55 (7 years ago)
- Location:
- main/waeup.kofa/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/CHANGES.txt
r14914 r14915 6 6 7 7 * Replace `gpa_boundaries` utility attribute by `GPABoundaries` method 8 which may return different values in custom packages depending on faculty 9 or departmentcode (requested by AAU Ekpoma).8 which may return different values in custom packages depending on faculty, 9 department or certificate code (requested by AAU Ekpoma). 10 10 11 11 * Allow `ApplicantOnlinePaymentProcessor` to import records without -
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.