Changeset 6865 for main/waeup.sirp/trunk/src
- Timestamp:
- 5 Oct 2011, 10:21:53 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/payments
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/payments/interfaces.py
r6864 r6865 25 25 p_category = schema.Choice( 26 26 title = u'Payment Category', 27 default = u'school 27 default = u'schoolfee', 28 28 vocabulary = payment_categories, 29 29 required = True, -
main/waeup.sirp/trunk/src/waeup/sirp/payments/vocabularies.py
r6864 r6865 1 1 """Vocabularies and sources for payments. 2 2 """ 3 from datetime import datetime4 3 from waeup.sirp.interfaces import SimpleWAeUPVocabulary 5 4 6 5 payment_states = SimpleWAeUPVocabulary( 7 (' unpaid','unpaid'),6 ('not yet paid','unpaid'), 8 7 ('paid','paid'), 9 8 ) 10 9 11 10 payment_categories = SimpleWAeUPVocabulary( 12 ('schoolfee','school fee'), 13 ('application','application'), 14 ('hostel_maintenance','hostel maintenance'), 15 ('transfer','transfer'), 16 ('gown','gown'), 11 ('School Fee','schoolfee'), 12 ('Hostel Maintenance','hostel_maintenance'), 13 ('Transfer','transfer'), 14 ('Gown','gown'), 17 15 )
Note: See TracChangeset for help on using the changeset viewer.