Ignore:
Timestamp:
17 Mar 2021, 21:19:49 (4 years ago)
Author:
Henrik Bettermann
Message:

abraham: "enable *NADESU/SA/SUG* and *GNS Dues* payment pre-codition for the payment of 2020/2021 session school fee for SPAT (Part-time), same way it is for full-time (regular) students"

File:
1 edited

Legend:

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

    r16338 r16416  
    172172                # Students are only allowed to pay school fee
    173173                # if current session dep_sug_gns payment has been made.
    174                 if student.faccode != 'SPAT' and not self._dep_sug_gns_paymentMade(
    175                     student, student.current_session):
     174                if not self._dep_sug_gns_paymentMade(student, student.current_session):
    176175                    return _('You have to pay NADESU/SA/SUG and GNS Dues first.'), None
    177176                penalty = getattr(academic_session, 'lsfp_penalty_fee')
     
    260259        elif category == 'dep_sug':
    261260            amount = 3150.0 # includes GATEWAY_AMT
    262             if student.faccode == 'SPAT':
     261            #if student.faccode == 'SPAT':
    263262            #    amount = 1650.0 # includes GATEWAY_AMT
    264                 amount = 0.0
     263            #    amount = 0.0
    265264            if student.state == RETURNING and not previous_session:
    266265                p_session, p_level = self.getReturningData(student)
Note: See TracChangeset for help on using the changeset viewer.