Ignore:
Timestamp:
10 Mar 2019, 11:49:13 (6 years ago)
Author:
Henrik Bettermann
Message:

Late School Fee Payment Penalty Fee must be paid also by returning students.

File:
1 edited

Legend:

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

    r15345 r15347  
    153153                    student, student.current_session):
    154154                    return _('You have to pay NADESU/SA/SUG Dues first.'), None
     155                penalty = getattr(academic_session, 'lsfp_penalty_fee')
     156                if  penalty and not self._lsfp_penalty_paymentMade(
     157                    student, student.current_session):
     158                    return _('You have to pay late school fee payment penalty first.'), None
    155159                if student.state == CLEARED:
    156                     penalty = getattr(academic_session, 'lsfp_penalty_fee')
    157                     if  penalty and not self._lsfp_penalty_paymentMade(
    158                         student, student.current_session):
    159                         return _('You have to pay late school fee payment penalty first.'), None
    160160                    if local(student):
    161161                        amount = getattr(certificate, 'school_fee_1', 0.0)
Note: See TracChangeset for help on using the changeset viewer.