- Timestamp:
- 13 Jul 2024, 08:43:56 (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/students/browser.py
r17835 r17845 19 19 import os 20 20 import csv 21 import pytz 21 22 from datetime import datetime 22 23 from zope.i18n import translate … … 24 25 from zope.schema.interfaces import ConstraintNotSatisfied 25 26 from zope.formlib.textwidgets import BytesDisplayWidget 26 from zope.component import getUtility 27 from zope.component import getUtility, queryUtility 27 28 from hurry.workflow.interfaces import IWorkflowInfo 28 29 from waeup.kofa.interfaces import ( … … 64 65 NigeriaAccommodationDisplayFormPage, 65 66 NigeriaStudentBaseDisplayFormPage, 67 NigeriaExportPDFFinancialClearancePage, 66 68 ) 67 69 from waeup.uniben.students.interfaces import ( … … 1127 1129 msave(self, **data) 1128 1130 return 1131 1132 class CustomNigeriaExportPDFFinancialClearancePage(NigeriaExportPDFFinancialClearancePage): 1133 """Deliver a PDF financial clearance slip. 1134 """ 1135 1136 @property 1137 def note(self): 1138 if self.context.nysc and self.context.nysc_updated: 1139 nysc_updated = self.context.nysc_updated.strftime('%d/%m/%Y') 1140 return """ 1141 NYSC requested on %s. 1142 1143 Senate Info: %s 1144 """ % (nysc_updated, self.context.nysc_senate_info) 1145 else: 1146 return
Note: See TracChangeset for help on using the changeset viewer.