Ignore:
Timestamp:
18 Jan 2018, 08:56:55 (7 years ago)
Author:
Henrik Bettermann
Message:

SPAT (pt) students do not pay dep_sug fee.

File:
1 edited

Legend:

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

    r14938 r14940  
    9898                # Students are only allowed to pay school fee
    9999                # if current session dep_sug payment has been made.
    100                 if not self._dep_sug_paymentMade(student,
    101                     student.current_session):
     100                if student.faccode != 'SPAT' and not self._dep_sug_paymentMade(
     101                    student, student.current_session):
    102102                    return _('You have to pay NADESU/SA/SUG Dues first.'), None
    103103                if student.state == CLEARED:
     
    180180            amount = 3150.0 # includes GATEWAY_AMT
    181181            if student.faccode == 'SPAT':
    182                 amount = 1650.0 # includes GATEWAY_AMT
     182            #    amount = 1650.0 # includes GATEWAY_AMT
     183                amount = 0.0
    183184        else:
    184185            fee_name = category + '_fee'
Note: See TracChangeset for help on using the changeset viewer.