Ignore:
Timestamp:
14 Mar 2025, 01:09:12 (3 weeks ago)
Author:
Henrik Bettermann
Message:

Only in states, which allow to pay school fees, sundry payments are now required.

File:
1 edited

Legend:

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

    r18037 r18043  
    183183            or student.certcode in ('MBBSMED',):
    184184            return
     185        # Only in states, which allow to pay school fees, sundry payments
     186        # are required
     187        if student.state not in (CLEARANCE, REQUESTED, CLEARED, RETURNING):
     188            return
    185189        # Has the required combi payment been made?
    186190        for ticket in student['payments'].values():
     
    201205                if not cats_missing:
    202206                    return
    203         return "%s must be paid before Tution Fee. Make either single payments or make a 'Required Combi Payment'." % ', '.join(
     207        return "%s must be paid before Tution Fee. Make a 'Required Combi Payment'." % ', '.join(
    204208            cats_missing.values())
    205209
Note: See TracChangeset for help on using the changeset viewer.