Changeset 14079 for main/waeup.kofa/trunk/src/waeup/kofa/students
- Timestamp:
- 16 Aug 2016, 09:01:16 (8 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
r13969 r14079 71 71 level_obj.cumulative_params[4], 72 72 level_obj.cumulative_params[0], 73 getattr(level_obj, 'remark', None), 73 74 ) 74 75 table.append(line) … … 115 116 TTR('Cum. Credits Taken'), 116 117 TTR('Cum. Credits Passed'), 117 TTR('CGPA')) 118 TTR('CGPA'), 119 TTR('Remark')) 118 120 table = [col_names] 119 121 sn = 1 … … 171 173 #col_widths = [3.5*cm] * len(self.data[0]) 172 174 col_widths = [1*cm, 4*cm, 5*cm, 0.8*cm, 0.8*cm, 1*cm, 173 6*cm, 0.8*cm, 0.8*cm, 1*cm ]175 6*cm, 0.8*cm, 0.8*cm, 1*cm, 2*cm] 174 176 pdf_data = [Paragraph('<b>%s</b>' % self.creation_dt_string, 175 177 STYLE["Normal"]), -
main/waeup.kofa/trunk/src/waeup/kofa/students/reports/tests/test_level_report.py
r13868 r14079 27 27 result = get_students('fac1', 'dep1', 2010, 100) 28 28 self.assertEqual(result, 29 [(u'1234', u'Bob Tester', 30, 30, 5.0, '', 30, 30, 5.0 )])29 [(u'1234', u'Bob Tester', 30, 30, 5.0, '', 30, 30, 5.0, None)]) 30 30 return 31 31
Note: See TracChangeset for help on using the changeset viewer.