Ignore:
Timestamp:
8 May 2021, 17:06:36 (4 years ago)
Author:
Henrik Bettermann
Message:

The Management of the College have decided to allow repeaters/spill-over students to do Third Semester.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.fceokene/trunk/src/waeup/fceokene/students/utils.py

    r16463 r16479  
    7272        return new_session, new_level
    7373
    74     def _nce3PaymentMade(self, student):
     74    def _nce3PaymentMade(self, student, p_level):
    7575        if len(student['payments']):
    7676            for ticket in student['payments'].values():
    7777                if ticket.p_state in ('paid', 'scholarship', 'waived') and \
    78                     ticket.p_level == 300 and \
     78                    ticket.p_level == p_level and \
    7979                    ticket.p_category == 'schoolfee':
    8080                    return True
     
    127127                return _(u'Acceptance Fee payments not allowed.'), None
    128128        elif category == 'third_semester' and student.current_mode == 'nce_ft' \
    129             and p_level == 300:
    130             if not self._nce3PaymentMade(student):
     129            and p_level in (300, 310, 320):
     130            if not self._nce3PaymentMade(student, p_level):
    131131                return _(u'Make NCE 3 school fee payment first.'), None
    132132            if student.depcode in ARTS:
Note: See TracChangeset for help on using the changeset viewer.