Ignore:
Timestamp:
31 Aug 2013, 14:55:15 (11 years ago)
Author:
Henrik Bettermann
Message:

Render signatures on level report.

File:
1 edited

Legend:

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

    r10569 r10572  
    2525from waeup.kofa.interfaces import MessageFactory as _
    2626from waeup.kofa.reports import IReport
     27from waeup.kofa.browser.pdf import get_signature_tables
    2728
    2829class ILevelReport(IReport):
     
    158159            Table(table_data, style=TABLE_STYLE, colWidths=col_widths)]
    159160        doc_title = 'Level Report'
     161
     162        pdf_data.append(Spacer(1, 40))
     163        signatures = ['Ag. Head of Department', 'Dean of Faculty']
     164        signaturetables = get_signature_tables(signatures, landscape=True)
     165        pdf_data.append(signaturetables[0])
     166
    160167        pdf = creator.create_pdf(
    161168            pdf_data, None, doc_title, self.author,
Note: See TracChangeset for help on using the changeset viewer.