Changeset 10616 for main/waeup.kofa/trunk/src/waeup/kofa/students/reports
- Timestamp:
- 11 Sep 2013, 06:03:04 (11 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students/reports
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/reports/level_report.py
r10615 r10616 64 64 level_obj.gpa, 65 65 passed_params[4], 66 level_obj.cumulative_params[3], 67 level_obj.cumulative_params[4], 68 level_obj.cumulative_params[0], 66 69 ) 67 70 table.append(line) … … 106 109 TTR('Total Credits Passed'), 107 110 TTR('GPA'), 108 'Courses Failed') 111 'Courses Failed', 112 TTR('Cum. Credits Taken'), 113 TTR('Cum. Credits Passed'), 114 TTR('CGPA')) 109 115 table = [col_names] 110 116 sn = 1 … … 157 163 table_data = tbl_data_to_table(self.data) 158 164 #col_widths = [3.5*cm] * len(self.data[0]) 159 col_widths = [1*cm, 4*cm, 5*cm, 0.8*cm, 0.8*cm, 0.8*cm, 6*cm, ] 165 col_widths = [1*cm, 4*cm, 5*cm, 0.8*cm, 0.8*cm, 0.8*cm, 166 6*cm, 0.8*cm, 0.8*cm, 0.8*cm] 160 167 pdf_data = [Paragraph('<b>%s</b>' % self.creation_dt_string, 161 168 STYLE["Normal"]), -
main/waeup.kofa/trunk/src/waeup/kofa/students/reports/tests/test_level_report.py
r10574 r10616 27 27 result = get_students('fac1', 'dep1', 2010, 100) 28 28 self.assertEqual(result, 29 [(u' K1000000', u'1234', u'Bob Tester', 30, 30, 5.0, [])])29 [(u'1234', u'Bob Tester', 30, 30, 5.0, [], 30, 30, 5.0)]) 30 30 return 31 31
Note: See TracChangeset for help on using the changeset viewer.