Ignore:
Timestamp:
8 Nov 2021, 08:41:58 (3 years ago)
Author:
Henrik Bettermann
Message:

Implement payment by instalments.

File:
1 edited

Legend:

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

    r16701 r16704  
    2525
    2626    PAYMENT_CATEGORIES = {
    27         'schoolfee': 'School Fee',
    28         'clearance': 'Acceptance Fee',
     27        'schoolfee': 'School Fee (total amount)',
     28        'schoolfee_1': 'School Fee (60% - 1st instalment)',
     29        'secondinstal': 'School Fee (40% - 2nd instalment)',
     30        'clearance': 'Acceptance Fee (not applicable)',
    2931        #'bed_allocation': 'Bed Allocation Fee',
    3032        #'hostel_maintenance': 'Hostel Maintenance Fee',
    3133        #'transfer': 'Transfer Fee',
    3234        #'gown': 'Gown Hire Fee',
    33         'application': 'Application Fee',
     35        'application': 'Application Fee (not applicable)',
    3436        #'app_balance': 'Application Fee Balance',
    3537        #'transcript': 'Transcript Fee',
     
    3840        }
    3941
    40     #SELECTABLE_PAYMENT_CATEGORIES = {
    41     #    }
    42 
    43     def selectable_payment_categories(self, student):
    44         return self.PAYMENT_CATEGORIES
     42    SELECTABLE_PAYMENT_CATEGORIES = {
     43        'schoolfee': 'School Fee (total amount)',
     44        'schoolfee_1': 'School Fee (60% - 1st instalment)',
     45        'secondinstal': 'School Fee (40% - 2nd instalment)',
     46        }
Note: See TracChangeset for help on using the changeset viewer.