Ignore:
Timestamp:
28 Nov 2012, 17:00:43 (12 years ago)
Author:
Henrik Bettermann
Message:

Use carryover categories only for calculation of fee, then change to schoolfee.

Configure SELECTABLE_PAYMENT_CATEGORIES.

Add and adjust tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/utils/utils.py

    r9724 r9737  
    4343    PAYMENT_CATEGORIES = {
    4444        'schoolfee': 'School Fee',
    45         'co1': '1 Carry-Over',
    46         'co2': '2 Carry-Overs',
    47         'co3': '3 Carry-Overs',
     45        'carryover1': '1 CarryOver',
     46        'carryover2': '2 CarryOvers',
     47        'carryover3': '3 CarryOvers',
    4848        'clearance': 'Acceptance Fee',
    4949        'bed_allocation': 'Bed Allocation Fee',
     
    5151        'application': 'Application Fee'
    5252        }
     53
     54    SELECTABLE_PAYMENT_CATEGORIES = {
     55        'schoolfee': 'School Fee',
     56        'carryover1': 'One CarryOver',
     57        'carryover2': 'Two CarryOvers',
     58        'carryover3': 'Three CarryOvers',
     59        'hostel_maintenance': 'Hostel Maintenance Fee',
     60        }
Note: See TracChangeset for help on using the changeset viewer.