Changeset 8753 for main/waeup.aaue/trunk/src/waeup/aaue/payments
- Timestamp:
- 18 Jun 2012, 17:00:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/payments/interfaces.py
r8682 r8753 19 19 from zope import schema 20 20 from waeup.kofa.payments.interfaces import IPayment 21 from waeup.kofa.interfaces import SimpleKofaVocabulary 21 22 from waeup.kofa.interfaces import MessageFactory as _ 23 24 payment_categories = SimpleKofaVocabulary( 25 (_('School Fee 1st instalment'),'schoolfee_1'), 26 (_('School Fee 2nd instalment'),'schoolfee_2'), 27 (_('Clearance'),'clearance'), 28 (_('Bed Allocation'),'bed_allocation'), 29 (_('Hostel Maintenance'),'hostel_maintenance'), 30 (_('Transfer'),'transfer'), 31 (_('Gown'),'gown'), 32 (_('Application Fee'), 'application'), 33 ) 22 34 23 35 class ICustomOnlinePayment(IPayment): … … 25 37 26 38 """ 39 40 p_category = schema.Choice( 41 title = _(u'Payment Category'), 42 default = u'schoolfee_1', 43 vocabulary = payment_categories, 44 required = True, 45 ) 27 46 28 47 ac = schema.TextLine( … … 76 95 readonly = False, 77 96 ) 97 98 ICustomOnlinePayment['p_category'].order = ICustomOnlinePayment[ 99 'p_category'].order
Note: See TracChangeset for help on using the changeset viewer.