Changeset 7021 for main/waeup.custom/trunk/src/waeup/custom/interfaces.py
- Timestamp:
- 7 Nov 2011, 17:20:24 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.custom/trunk/src/waeup/custom/interfaces.py
r6950 r7021 2 2 ## interfaces.py 3 3 from zope import schema 4 from waeup.sirp.interfaces import IWAeUPObject, academic_sessions_vocab 4 from waeup.sirp.interfaces import ( 5 IWAeUPObject, ISessionConfiguration, academic_sessions_vocab) 5 6 6 class ISessionConfiguration(IWAeUPObject): 7 # It's recommended to replicate all fields from the base package here. 8 class ISessionConfiguration(ISessionConfiguration): 7 9 """A session configuration object. 8 10 """ 9 11 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( 19 13 title = u'School Fee', 20 14 default = 0, … … 31 25 ) 32 26 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 33 47 gown = schema.Int( 34 48 title = u'Gown Fee', … … 38 52 transfer = schema.Int( 39 53 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',50 54 default = 0, 51 55 )
Note: See TracChangeset for help on using the changeset viewer.