Ignore:
Timestamp:
29 Aug 2016, 06:25:37 (8 years ago)
Author:
Henrik Bettermann
Message:

Customize NigeriaExportPDFFinancialClearancePage. Students must not see signature box.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/students/browser.py

    r14136 r14137  
    6363    NigeriaAccommodationManageFormPage,
    6464    NigeriaStudentBaseDisplayFormPage,
    65     NigeriaStudentBaseManageFormPage
     65    NigeriaStudentBaseManageFormPage,
     66    NigeriaExportPDFFinancialClearancePage
    6667    )
    6768from waeup.aaue.students.interfaces import (
     
    774775            key=lambda value: value[5] + value[3] + str(value[6]))
    775776
     777
     778
     779class CustomExportPDFFinancialClearancePage(NigeriaExportPDFFinancialClearancePage):
     780    """Deliver a PDF financial clearance slip.
     781    """
     782
     783    def _sigsInFooter(self):
     784        if not checkPermission('waeup.clearStudentFinancially', self.context):
     785            return ()
     786        return (_('Date, Checking Officer Signature'),
     787                _('Date, Approving Officer Signature'),
     788                )
Note: See TracChangeset for help on using the changeset viewer.