Changeset 7627 for main/waeup.sirp/trunk/src/waeup/sirp/payments
- Timestamp:
- 10 Feb 2012, 20:35:28 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/payments
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/payments/interfaces.py
r7623 r7627 18 18 from zope.interface import Attribute 19 19 from zope import schema 20 from waeup.sirp.interfaces import ISIRPObject 21 from waeup.sirp.payments.vocabularies import ( 22 payment_states, payment_categories) 20 from waeup.sirp.interfaces import ISIRPObject, SimpleSIRPVocabulary 21 22 payment_states = SimpleSIRPVocabulary( 23 ('Not yet paid','unpaid'), 24 ('Paid','paid'), 25 ('Failed','failed'), 26 ) 27 28 payment_categories = SimpleSIRPVocabulary( 29 ('School Fee','schoolfee'), 30 ('Clearance','clearance'), 31 ('Bed Allocation','bed_allocation'), 32 ('Hostel Maintenance','hostel_maintenance'), 33 ('Transfer','transfer'), 34 ('Gown','gown'), 35 ('Acceptance Fee', 'acceptance'), 36 ) 23 37 24 38 class IPaymentsContainer(ISIRPObject): -
main/waeup.sirp/trunk/src/waeup/sirp/payments/payment.py
r7195 r7627 23 23 from grok import index 24 24 from waeup.sirp.payments.interfaces import ( 25 IPayment, ISCPayment, IOnlinePayment) 25 IPayment, ISCPayment, IOnlinePayment, 26 payment_states, payment_categories) 26 27 from waeup.sirp.utils.helpers import attrs_to_fields 27 from waeup.sirp.payments.vocabularies import payment_states, payment_categories28 28 29 29 class Payment(grok.Container):
Note: See TracChangeset for help on using the changeset viewer.