Ignore:
Timestamp:
21 Jul 2025, 15:18:07 (10 hours ago)
Author:
Henrik Bettermann
Message:

Minor modifications requested in #252

File:
1 edited

Legend:

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

    r18132 r18135  
    191191        if student.state not in (CLEARANCE, REQUESTED, CLEARED, RETURNING):
    192192            return
     193           
    193194        # Has the required combi payment been made?
    194195        for ticket in student['payments'].values():
     
    197198                ticket.p_state == 'paid':
    198199                return
    199         # If not, check single payments
     200
     201        # If not, check single payments (no longer possible)
    200202        rp = self._collect_required_payment_items(student)
    201203        cats_missing = deepcopy(rp)
     
    215217                if not cats_missing:
    216218                    return
    217         return "%s must be paid before Tution Fee." % ', '.join(
    218             cats_missing.values())
     219        #return "%s must be paid before Tution Fee." % ', '.join(
     220        #    cats_missing.values())
     221
     222        return "Sundry charges must be paid before tuition."
    219223
    220224    @property
Note: See TracChangeset for help on using the changeset viewer.