Ignore:
Timestamp:
10 Nov 2016, 11:28:11 (8 years ago)
Author:
Henrik Bettermann
Message:

Enable adding notes to reports in custom packages.

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

    r14156 r14269  
    156156    depcode = None
    157157
     158    note = None
     159
    158160    def __init__(self, faccode, depcode, session, level, author='System'):
    159161        super(LevelReport, self).__init__(
     
    208210            pdf_data, None, doc_title, self.author,
    209211            doc_title + ' - %s/%s - %s - %s -' % (
    210             self.faccode, self.depcode, self.levelcode, self.sessioncode)
     212            self.faccode, self.depcode, self.levelcode, self.sessioncode),
     213            note = self.note
    211214            )
    212215        return pdf
  • main/waeup.kofa/trunk/src/waeup/kofa/students/reports/session_results_presentation.py

    r14159 r14269  
    117117    faccode = None
    118118    depcode = None
     119
     120    note = None
    119121
    120122    def __init__(self, faccode, depcode, session, level, author='System'):
     
    189191            pdf_data, None, doc_title, self.author,
    190192            doc_title + ' - %s/%s - %s - %s -' % (
    191             self.faccode, self.depcode, self.levelcode, self.sessioncode)
     193            self.faccode, self.depcode, self.levelcode, self.sessioncode),
     194            note = self.note
    192195            )
    193196        return pdf
Note: See TracChangeset for help on using the changeset viewer.