Ignore:
Timestamp:
12 Mar 2025, 14:32:29 (8 hours ago)
Author:
Henrik Bettermann
Message:

Add grad clearance fee.
Part time, jupeb, medical, and PG students do not pay sundry.

File:
1 edited

Legend:

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

    r18036 r18037  
    9999        'alumni': 'Alumni Fees',
    100100        'conv': 'Convocation Fees',
    101         'clearance': 'Clearance Fees',
     101        'grad_clearance': 'Clearance Fees',
    102102        }
    103103
     
    123123        'alumni': 'Alumni Fees',
    124124        'conv': 'Convocation Fees',
    125         'clearance': 'Clearance Fees',
     125        'grad_clearance': 'Clearance Fees',
    126126        'lab_support': 'Lab Support',
    127127        }
     
    178178
    179179    def _requiredPaymentsMissing(self, student, session):
     180        # Part time, jupeb, medical, and PG students do not pay sundry.
     181        if student.is_jupeb or student.current_mode.endswith('_pt') \
     182            or student.is_postgrad \
     183            or student.certcode in ('MBBSMED',):
     184            return
    180185        # Has the required combi payment been made?
    181186        for ticket in student['payments'].values():
Note: See TracChangeset for help on using the changeset viewer.