Changeset 18037


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

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

Location:
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada
Files:
2 edited

Legend:

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

    r18036 r18037  
    193193        title = _(u'PG Other Charges'),
    194194        default = 0.0,
    195         required = True,
     195        required = False,
    196196        )
    197197
     
    320320        title = _(u'Student ID Card Fee'),
    321321        default = 0.0,
    322         required = True,
    323         )
    324 
     322        required = False,
     323        )
     324
     325    grad_clearance_fee = schema.Float(
     326        title = _(u'Graduation Clearance Fees'),
     327        default = 0.0,
     328        required = False,
     329        )
    325330
    326331    # CDL Portal Fees only
  • 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.