Changeset 10529


Ignore:
Timestamp:
23 Aug 2013, 10:38:21 (11 years ago)
Author:
Henrik Bettermann
Message:

Add note on payment slips.

Location:
main/waeup.fceokene/trunk/src/waeup/fceokene
Files:
3 edited

Legend:

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

    r9481 r10529  
    2323from waeup.kofa.widgets.datewidget import FriendlyDatetimeDisplayWidget
    2424from zope.formlib.textwidgets import BytesDisplayWidget
    25 from waeup.kofa.applicants.browser import (ApplicantDisplayFormPage,
    26     ApplicantManageFormPage, ApplicantEditFormPage)
    2725from waeup.kofa.applicants.viewlets import (
    2826    PaymentReceiptActionButton, PDFActionButton)
    2927from waeup.kofa.applicants.pdf import PDFApplicationSlip
     28
     29from kofacustom.nigeria.applicants.browser import (
     30    NigeriaExportPDFPaymentSlipPage, NigeriaApplicantManageFormPage,
     31    NigeriaApplicantDisplayFormPage, NigeriaApplicantEditFormPage)
     32
    3033from kofacustom.nigeria.applicants.interfaces import (
    3134    UG_OMIT_DISPLAY_FIELDS,
     
    4245    )
    4346
    44 class CustomApplicantDisplayFormPage(ApplicantDisplayFormPage):
     47class CustomApplicantDisplayFormPage(NigeriaApplicantDisplayFormPage):
    4548    """A display view for applicant data.
    4649    """
     
    9497        return form_fields
    9598
    96 class CustomApplicantManageFormPage(ApplicantManageFormPage):
     99class CustomExportPDFPaymentSlipPage(NigeriaExportPDFPaymentSlipPage):
     100    """Deliver a PDF slip of the context.
     101    """
     102
     103    note = '''
     104
     105
     106The total authorized amount includes an Interswitch transaction charge of 150 Nairas.
     107'''
     108
     109class CustomApplicantManageFormPage(NigeriaApplicantManageFormPage):
    97110    """A full edit view for applicant data.
    98111    """
     
    112125        return form_fields
    113126
    114 class CustomApplicantEditFormPage(ApplicantEditFormPage):
     127class CustomApplicantEditFormPage(NigeriaApplicantEditFormPage):
    115128    """An applicant-centered edit view for applicant data.
    116129    """
  • main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/tests.py

    r10528 r10529  
    352352            ' item_amt="35000" bank_id="117" acct_num="1012445289" />'
    353353            in self.browser.contents)
    354         import pdb; pdb.set_trace()
    355354
    356355
  • main/waeup.fceokene/trunk/src/waeup/fceokene/students/browser.py

    r10019 r10529  
    8484    form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
    8585
     86    note = '''
     87
     88
     89The total authorized amount includes an Interswitch transaction charge of 150 Nairas.
     90'''
     91
    8692class CustomStartClearancePage(StartClearancePage):
    8793
Note: See TracChangeset for help on using the changeset viewer.