Ignore:
Timestamp:
5 Nov 2021, 11:45:48 (3 years ago)
Author:
Henrik Bettermann
Message:

Customize payment categories.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.edocons/trunk/src/kofacustom/edocons/students/utils.py

    r16639 r16700  
    3030    # refix
    3131    STUDENT_ID_PREFIX = u'N'
     32
     33    PAYMENT_CATEGORIES = {
     34        'schoolfee': 'School Fee',
     35        #'clearance': 'Acceptance Fee',
     36        #'bed_allocation': 'Bed Allocation Fee',
     37        #'hostel_maintenance': 'Hostel Maintenance Fee',
     38        #'transfer': 'Transfer Fee',
     39        #'gown': 'Gown Hire Fee',
     40        #'application': 'Application Fee',
     41        #'app_balance': 'Application Fee Balance',
     42        #'transcript': 'Transcript Fee',
     43        #'late_registration': 'Late Course Registration Fee',
     44        #'combi': 'Combi Payment',
     45        }
     46
     47    SELECTABLE_PAYMENT_CATEGORIES = {
     48        'schoolfee': 'School Fee',
     49        }
     50
     51    def selectable_payment_categories(self, student):
     52        return self.SELECTABLE_PAYMENT_CATEGORIES
Note: See TracChangeset for help on using the changeset viewer.