Ignore:
Timestamp:
22 Apr 2012, 12:46:17 (13 years ago)
Author:
Henrik Bettermann
Message:

More preparations for a solid payment system customization.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/payments/interfaces.py

    r8244 r8245  
    1818from zope.interface import Attribute
    1919from zope import schema
    20 from waeup.kofa.interfaces import IKofaObject, SimpleKofaVocabulary
     20from waeup.kofa.interfaces import (
     21    IKofaObject, SimpleKofaVocabulary, academic_sessions_vocab)
    2122from waeup.kofa.interfaces import MessageFactory as _
    2223
     
    5859        title = _(u'Payment Item'),
    5960        default = None,
     61        required = False,
     62        )
     63
     64    p_session = schema.Choice(
     65        title = _(u'Payment Session'),
     66        source = academic_sessions_vocab,
    6067        required = False,
    6168        )
Note: See TracChangeset for help on using the changeset viewer.