Changeset 6865 for main/waeup.sirp/trunk


Ignore:
Timestamp:
5 Oct 2011, 10:21:53 (13 years ago)
Author:
Henrik Bettermann
Message:

Fix vocabs.

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  
    2525    p_category = schema.Choice(
    2626        title = u'Payment Category',
    27         default = u'school fee',
     27        default = u'schoolfee',
    2828        vocabulary = payment_categories,
    2929        required = True,
  • main/waeup.sirp/trunk/src/waeup/sirp/payments/vocabularies.py

    r6864 r6865  
    11"""Vocabularies and sources for payments.
    22"""
    3 from datetime import datetime
    43from waeup.sirp.interfaces import SimpleWAeUPVocabulary
    54
    65payment_states = SimpleWAeUPVocabulary(
    7     ('unpaid','unpaid'),
     6    ('not yet paid','unpaid'),
    87    ('paid','paid'),
    98    )
    109
    1110payment_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'),
    1715    )
Note: See TracChangeset for help on using the changeset viewer.