Ignore:
Timestamp:
1 Jul 2012, 17:46:05 (12 years ago)
Author:
Henrik Bettermann
Message:

ICustomStudentOnlinePayment must be derived from ICustomOnlinePayment. In most cases we have different payment_categories which are defined via ICustomOnlinePayment.

File:
1 edited

Legend:

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

    r8865 r8866  
    1717##
    1818
     19from zope import schema
    1920from kofacustom.nigeria.students.interfaces import (
    2021    INigeriaStudentBase, INigeriaUGStudentClearance, INigeriaPGStudentClearance,
     
    2223    INigeriaStudentStudyCourse, INigeriaCourseTicket,
    2324    INigeriaStudentUpdateByRegNo, INigeriaStudentUpdateByMatricNo,
    24     INigeriaStudentOnlinePayment
    2525    )
     26from waeup.uniben.payments.interfaces import ICustomOnlinePayment
     27from waeup.uniben.interfaces import MessageFactory as _
    2628
    2729class ICustomStudentBase(INigeriaStudentBase):
     
    6264    """
    6365
    64 class ICustomStudentOnlinePayment(INigeriaStudentOnlinePayment):
     66class ICustomStudentOnlinePayment(ICustomOnlinePayment):
    6567    """A student payment via payment gateways.
    6668
     69    This Interface does not inherit from IStudentOnlinePayment.
     70    Thus all fields from IStudentOnlinePayment have to be repeated here.
    6771    """
     72
     73    p_level = schema.Int(
     74        title = _(u'Payment Level'),
     75        required = False,
     76        readonly = True,
     77        )
     78
     79ICustomStudentOnlinePayment['p_level'].order = ICustomStudentOnlinePayment[
     80    'p_session'].order
    6881
    6982class ICustomCourseTicket(INigeriaCourseTicket):
Note: See TracChangeset for help on using the changeset viewer.