Changeset 18207 for main/waeup.aaue
- Timestamp:
- 11 Nov 2025, 18:21:32 (13 months ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue
- Files:
-
- 2 edited
-
applicants/browser.py (modified) (1 diff)
-
students/browser.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/applicants/browser.py
r18206 r18207 745 745 students_utils = getUtility(IStudentsUtils) 746 746 return students_utils.renderPDF(self,'payment_slip.pdf', 747 self.context.__parent__, applicantview, note=self.note, 748 topMargin=1.2,) 747 self.context.__parent__, applicantview, note=self.note,) 749 748 750 749 class CustomApplicantCheckStatusPage(ApplicantCheckStatusPage): -
main/waeup.aaue/trunk/src/waeup/aaue/students/browser.py
r18187 r18207 344 344 345 345 return text 346 347 def render(self): 348 #if self.context.p_state != 'paid': 349 # self.flash('Ticket not yet paid.') 350 # self.redirect(self.url(self.context)) 351 # return 352 studentview = StudentBasePDFFormPage(self.context.student, 353 self.request, self.omit_fields) 354 students_utils = getUtility(IStudentsUtils) 355 return students_utils.renderPDF(self, 356 'payment_slip_%s_%s.pdf' % ( 357 self.context.student.student_id, self.context.p_id), 358 self.context.student, studentview, note=self.note, 359 omit_fields=self.omit_fields, 360 topMargin=1.2,) 346 361 347 362 class CustomStudyCourseManageFormPage(StudyCourseManageFormPage):
Note: See TracChangeset for help on using the changeset viewer.
