Ignore:
Timestamp:
7 Nov 2011, 17:20:24 (13 years ago)
Author:
Henrik Bettermann
Message:

Adjust customisation and base package.

File:
1 edited

Legend:

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

    r6950 r7021  
    22## interfaces.py
    33from zope import schema
    4 from waeup.sirp.interfaces import IWAeUPObject, academic_sessions_vocab
     4from waeup.sirp.interfaces import (
     5    IWAeUPObject, ISessionConfiguration, academic_sessions_vocab)
    56
    6 class ISessionConfiguration(IWAeUPObject):
     7# It's recommended to replicate all fields from the base package here.
     8class ISessionConfiguration(ISessionConfiguration):
    79    """A session configuration object.
    810    """
    911
    10     academic_session = schema.Choice(
    11         title = u'Academic Session',
    12         source = academic_sessions_vocab,
    13         default = None,
    14         required = True,
    15         readonly = True
    16         )
    17 
    18     fee_1 = schema.Int(
     12    school_fee_base = schema.Int(
    1913        title = u'School Fee',
    2014        default = 0,
     
    3125        )
    3226
     27    surcharge_3 = schema.Int(
     28        title = u'Surcharge 3',
     29        default = 0,
     30        )
     31
     32    clearance = schema.Int(
     33        title = u'Clearance Fee',
     34        default = 0,
     35        )
     36
     37    booking_fee = schema.Int(
     38        title = u'Booking Fee',
     39        default = 0,
     40        )
     41
     42    maint_fee = schema.Int(
     43        title = u'Maintenance Fee',
     44        default = 0,
     45        )
     46
    3347    gown = schema.Int(
    3448        title = u'Gown Fee',
     
    3852    transfer = schema.Int(
    3953        title = u'Transfer Fee',
    40         default = 0,
    41         )
    42 
    43     hostelmaintenance = schema.Int(
    44         title = u'Hostel Maintenance Fee',
    45         default = 0,
    46         )
    47 
    48     clearance = schema.Int(
    49         title = u'Clearance Fee',
    5054        default = 0,
    5155        )
Note: See TracChangeset for help on using the changeset viewer.