Ignore:
Timestamp:
11 May 2012, 15:46:29 (13 years ago)
Author:
Henrik Bettermann
Message:

Implement payment approval in waeup.uniben.

Location:
main/waeup.uniben/trunk/src/waeup/uniben/applicants
Files:
2 edited

Legend:

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

    r8292 r8421  
    2626    IApplicantRegisterUpdate, IApplicant, IApplicantEdit)
    2727from waeup.kofa.applicants.browser import (ApplicantDisplayFormPage,
    28     OnlinePaymentCallbackPage, ExportPDFPage,
     28    ExportPDFPage,
    2929    ApplicantManageFormPage, ApplicantEditFormPage,
    3030    ApplicantRegistrationPage, ApplicantAddFormPage,
     
    3333    ApplicantBaseDisplayFormPage)
    3434from waeup.kofa.applicants.viewlets import (
    35     RequestCallbackActionButton, PaymentReceiptActionButton)
     35    PaymentReceiptActionButton)
    3636from waeup.kofa.applicants.pdf import PDFApplicationSlip
    3737from waeup.uniben.applicants.interfaces import (
  • main/waeup.uniben/trunk/src/waeup/uniben/applicants/payment.py

    r8263 r8421  
    2222from zope.component.interfaces import IFactory
    2323from zope.interface import implementedBy
    24 from waeup.kofa.payments import OnlinePayment
     24from waeup.kofa.applicants.payment import ApplicantOnlinePayment
    2525from waeup.kofa.utils.helpers import attrs_to_fields
    2626from waeup.uniben.applicants.interfaces import ICustomApplicantOnlinePayment
    2727
    28 class CustomApplicantOnlinePayment(OnlinePayment):
    29     """This is an online payment.
     28class CustomApplicantOnlinePayment(ApplicantOnlinePayment):
     29    """This is a custom online payment for applicants.
     30
     31    Since this class inherits from ApplicantOnlinePayment, it automatically
     32    implements the interfaces of the parent class which means
     33    all viewlets and views meant for StudentOnlinePayment
     34    can also be accessed in the customized system.
    3035    """
    3136    grok.implements(ICustomApplicantOnlinePayment)
Note: See TracChangeset for help on using the changeset viewer.