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

Implement payment approval in waeup.uniben.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/students/payments.py

    r8247 r8421  
    2323from zope.interface import implementedBy
    2424from waeup.kofa.students.interfaces import IStudentNavigation
    25 from waeup.kofa.payments import PaymentsContainer, OnlinePayment
     25from waeup.kofa.students.payments import StudentOnlinePayment
    2626from waeup.kofa.utils.helpers import attrs_to_fields
    2727from waeup.uniben.students.interfaces import ICustomStudentOnlinePayment
    2828
    29 class CustomStudentOnlinePayment(OnlinePayment):
    30     """This is an online payment.
     29class CustomStudentOnlinePayment(StudentOnlinePayment):
     30    """This is a custom online payment for students.
     31
     32    Since this class inherits from StudentOnlinePayment, it automatically
     33    implements the interfaces of the parent class which means
     34    all viewlets and views meant for StudentOnlinePayment
     35    can also be accessed in the customized system.
    3136    """
    3237    grok.implements(ICustomStudentOnlinePayment, IStudentNavigation)
Note: See TracChangeset for help on using the changeset viewer.