Changeset 13297 for main/waeup.uniben/trunk
- Timestamp:
- 7 Oct 2015, 20:25:33 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/students/browser.py
r13085 r13297 45 45 NigeriaExportPDFPaymentSlip, 46 46 NigeriaExportPDFClearanceSlip, 47 NigeriaExportPDFBedTicketSlip, 47 48 NigeriaStudentPersonalDisplayFormPage, 48 49 NigeriaStudentPersonalManageFormPage, … … 482 483 sigs_in_footer=self._sigsInFooter(), 483 484 ) 485 486 class CustomExportPDFBedTicketSlip(NigeriaExportPDFBedTicketSlip): 487 """Deliver a PDF slip of the context. 488 """ 489 490 491 def render(self): 492 studentview = StudentBasePDFFormPage(self.context.student, 493 self.request, self.omit_fields) 494 students_utils = getUtility(IStudentsUtils) 495 496 note = """ 497 <br /><br /> 498 PLEASE ENDEAVOUR TO PAY YOUR HOSTEL MAINTENANCE CHARGE WITHIN 7 DAYS OF 499 BEING ALLOCATED A SPACE OR ELSE YOU ARE DEEMED TO HAVE VOLUNTARILY 500 FORFEITED IT AND IT GOES BACK INTO CIRCULATION TO BE AVAILABLE FOR BOOKING 501 AFRESH!""" 502 503 return students_utils.renderPDF( 504 self, 'bed_allocation_slip.pdf', 505 self.context.student, studentview, 506 omit_fields=self.omit_fields, 507 note=note)
Note: See TracChangeset for help on using the changeset viewer.