Ignore:
Timestamp:
11 Sep 2013, 06:03:04 (11 years ago)
Author:
Henrik Bettermann
Message:

Print cumulative params.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/reports/level_report.py

    r10615 r10616  
    6464                level_obj.gpa,
    6565                passed_params[4],
     66                level_obj.cumulative_params[3],
     67                level_obj.cumulative_params[4],
     68                level_obj.cumulative_params[0],
    6669                )
    6770        table.append(line)
     
    106109            TTR('Total Credits Passed'),
    107110            TTR('GPA'),
    108             'Courses Failed')
     111            'Courses Failed',
     112            TTR('Cum. Credits Taken'),
     113            TTR('Cum. Credits Passed'),
     114            TTR('CGPA'))
    109115    table = [col_names]
    110116    sn = 1
     
    157163        table_data = tbl_data_to_table(self.data)
    158164        #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]
    160167        pdf_data = [Paragraph('<b>%s</b>' % self.creation_dt_string,
    161168                              STYLE["Normal"]),
Note: See TracChangeset for help on using the changeset viewer.