Changeset 17703 for main


Ignore:
Timestamp:
22 Feb 2024, 10:59:32 (10 months ago)
Author:
Henrik Bettermann
Message:

Ticket #60

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

Legend:

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

    r17391 r17703  
    8989        payment.p_session = 2004
    9090        self.student['payments']['567'] = payment
    91 
    9291        self.browser.open(self.payments_path + '/addop')
    9392        self.browser.getControl(name="form.p_category").value = ['schoolfee']
  • main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/students/utils.py

    r17397 r17703  
    9696            req_payments = ('ict_entre',)
    9797            req_payments_titles = 'ICT'
    98         # HND1 and HND2 full time do not pay for LOGBOOK
     98        # HND1 and HND2 full time do not pay for LOGBOOK and ICT
    9999        elif student.current_mode == 'hnd_ft' and student.state in (
    100100            CLEARED, RETURNING):
    101             req_payments = ('ict_entre', 'union')
    102             req_payments_titles = 'Student Union and ICT'
     101            req_payments = ('union',)
     102            req_payments_titles = 'Student Union'
    103103        # ND2 FULL TIME do not pay LOGBOOK
    104104        elif student.current_mode == 'nd_ft' and student.state == RETURNING:
  • main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/utils/utils.py

    r17635 r17703  
    115115            del spc['admission_checking']
    116116            del spc['clearance']
     117        if student.current_mode == 'hnd_ft':
     118            del spc['ict_entre']
    117119        return spc
    118120
Note: See TracChangeset for help on using the changeset viewer.