Ignore:
Timestamp:
29 Oct 2014, 21:23:53 (10 years ago)
Author:
Henrik Bettermann
Message:

Add payment category 'NCE Third Semester Fee' which can be set in session configuration objects. Remove unused payment categories.

File:
1 edited

Legend:

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

    r10570 r11913  
    1818"""Customize general helper utilities for Kofa.
    1919"""
     20from copy import deepcopy
    2021from kofacustom.nigeria.utils.utils import NigeriaKofaUtils
    2122from waeup.fceokene.interfaces import MessageFactory as _
     
    3637        }
    3738
     39
     40    PAYMENT_CATEGORIES = {
     41        'schoolfee': 'School Fee',
     42        'clearance': 'Acceptance Fee',
     43        'bed_allocation': 'Bed Allocation Fee',
     44        'hostel_maintenance': 'Hostel Maintenance Fee',
     45        #'transfer': 'Transfer Fee',
     46        #'gown': 'Gown Hire Fee',
     47        'application': 'Application Fee',
     48        #'transcript': 'Transcript Fee',
     49        'third_semester': 'NCE Third Semester Fee',
     50        }
     51
     52    SELECTABLE_PAYMENT_CATEGORIES = deepcopy(PAYMENT_CATEGORIES)
     53
    3854    def getPaymentItem(self, payment):
    3955        """Return payment item.
Note: See TracChangeset for help on using the changeset viewer.