Ignore:
Timestamp:
18 Jan 2019, 08:51:24 (6 years ago)
Author:
Henrik Bettermann
Message:

Remove SIWESS fee payment requirement.

File:
1 edited

Legend:

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

    r15284 r15301  
    8989
    9090    def _requiredPaymentsMade(self, student, session):
    91         req_payments = ('ict_entre', 'logbook_combo', 'siwess_combo')
    92         req_payments_titles = 'ICT, Logbook and SIWESS'
     91        # SIWESS fee requirement removed on 18/01/2019
     92        req_payments = ('ict_entre', 'logbook_combo')
     93        req_payments_titles = 'ICT and Logbook'
    9394        if len(student['payments']):
    94             # All ND and HND of part time do not pay LOGBOOK
     95            # All ND and HND part time do not pay LOGBOOK
    9596            if student.current_mode.endswith('_pt'):
    96                 req_payments = ('ict_entre', 'siwess_combo')
    97                 req_payments_titles = 'ICT and SIWESS'
     97                req_payments = ('ict_entre',)
     98                req_payments_titles = 'ICT'
    9899            # HND2 full time do not pay for SIWES
    99             elif student.current_mode == 'hnd_ft' and student.state == RETURNING:
    100                 req_payments = ('ict_entre', 'logbook_combo')
    101                 req_payments_titles = 'ICT and Logbook'
    102             # HND1 full time do not pay both SIWES and LOGBOOK
     100            #elif student.current_mode == 'hnd_ft' and student.state == RETURNING:
     101            #    req_payments = ('ict_entre', 'logbook_combo')
     102            #    req_payments_titles = 'ICT and Logbook'
     103            # HND1 full time do not pay both LOGBOOK
    103104            elif student.current_mode == 'hnd_ft' and student.state == CLEARED:
    104105                req_payments = ('ict_entre',)
     
    106107            # ND2 FULL TIME Do not pay LOGBOOK
    107108            elif student.current_mode == 'nd_ft' and student.state == RETURNING:
    108                 req_payments = ('ict_entre', 'siwess_combo')
    109                 req_payments_titles = 'ICT and SIWESS'
     109                req_payments = ('ict_entre',)
     110                req_payments_titles = 'ICT'
    110111            # ND1 full time do not pay SIWES
    111             elif student.current_mode == 'nd_ft' and student.state == CLEARED:
    112                 req_payments = ('ict_entre', 'logbook_combo')
    113                 req_payments_titles = 'ICT and Logbook'
     112            #elif student.current_mode == 'nd_ft' and student.state == CLEARED:
     113            #    req_payments = ('ict_entre', 'logbook_combo')
     114            #    req_payments_titles = 'ICT and Logbook'
    114115            num = 0
    115116            for ticket in student['payments'].values():
Note: See TracChangeset for help on using the changeset viewer.