Ignore:
Timestamp:
23 Apr 2012, 13:33:07 (13 years ago)
Author:
Henrik Bettermann
Message:

Ease customization.

Location:
main/waeup.kofa/trunk/src/waeup/kofa
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py

    r8246 r8258  
    550550    form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
    551551    prefix = 'form'
     552    note = None
    552553
    553554    @property
     
    573574        students_utils = getUtility(IStudentsUtils)
    574575        return students_utils.renderPDF(self,'payment_receipt.pdf',
    575             self.context.__parent__, applicantview)
     576            self.context.__parent__, applicantview, note=self.note)
    576577
    577578class ExportPDFPage(UtilityView, grok.View):
  • main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py

    r8246 r8258  
    11911191    prefix = 'form'
    11921192    title = 'Payment Data'
     1193    note = None
    11931194
    11941195    @property
     
    12051206        students_utils = getUtility(IStudentsUtils)
    12061207        return students_utils.renderPDF(self, 'payment_receipt.pdf',
    1207             self.context.getStudent(), studentview)
     1208            self.context.getStudent(), studentview, note=self.note)
    12081209
    12091210
Note: See TracChangeset for help on using the changeset viewer.