Changeset 18135


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

Minor modifications requested in #252

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

Legend:

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

    r18133 r18135  
    104104        self.browser.getControl(name="form.p_option").value = ['first']
    105105        self.browser.getControl("Create payment").click()
    106         self.assertTrue('must be paid before Tution Fee' in self.browser.contents)
     106        self.assertTrue('Sundry charges must be paid before tuition.' in self.browser.contents)
    107107        self.browser.getControl(name="form.p_category").value = ['required_combi']
    108108        self.browser.getControl("Create payment").click()
  • 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
  • main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/utils/utils.py

    r18133 r18135  
    7777        'makeup_admin': 'Make-Up Registration Fee',
    7878        'id_card': 'Student ID Card',
    79         'required_combi': 'Required Sundry Payment',
     79        'required_combi': 'Required Sundry Charges',
    8080        'pg_other': 'PG Other Charges',
    8181        'jupeb_form':'JUPEB Form Fee',
     
    129129        'late_registration': 'Late Registration Fee',
    130130        'clinical': 'Clinical Fee (Medical Students)',
    131         'pharmlab': 'Pharmacy Lab Support Fee',
    132131        'lo_ident': 'Letter of Identification Fee',
    133132        'change_course': 'Change of Course Fee',
     
    145144        #'resit9': '9 Make-Up Examination Courses',
    146145        'makeup_admin': 'Make-Up Registration Fee',
    147         'required_combi': 'Required Sundry Payment',
     146        'required_combi': 'Required Sundry Charges',
    148147        'pg_other': 'PG Other Charges',
    149148        #'jupeb_form':'JUPEB Form Fee',
     
    171170        ## sundry: 'develop': 'Development Fee',
    172171        ## sundry: 'health_insurance': 'Student Health Insurance',
     172        ## sundry: 'pharmlab': 'Pharmacy Lab Support Fee',
    173173        }
    174174
     
    241241        'fine': 'Fine',
    242242        'id_card': 'Student ID Card',
    243         #'required_combi': 'Required Sundry Payment',
     243        #'required_combi': 'Required Sundry Charges',
    244244        'pg_other': 'PG Other Charges',
    245245        #'jupeb_form':'JUPEB Form Fee',
     
    304304        ## sundry: 'develop': 'Development Fee',
    305305        ## sundry: 'health_insurance': 'Student Health Insurance',
     306        ## sundry: 'pharmlab': 'Pharmacy Lab Support Fee',
    306307        'clinical': 'Clinical Fee (Medical Students)',
    307308        'late_registration': 'Late Registration Fee',
    308         'pharmlab': 'Pharmacy Lab Support Fee',
    309309        'lo_ident': 'Letter of Identification Fee',
    310310        'change_course': 'Change of Course Fee',
Note: See TracChangeset for help on using the changeset viewer.