Ignore:
Timestamp:
6 Oct 2021, 15:44:25 (3 years ago)
Author:
Henrik Bettermann
Message:

Extend PORTRAIT_CHANGE_STATES.

Fix ICT fee.

File:
1 edited

Legend:

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

    r16652 r16667  
    2222from waeup.kofa.interfaces import (
    2323    ADMITTED, CLEARANCE, REQUESTED, CLEARED, RETURNING, PAID,
    24     academic_sessions_vocab)
     24    REGISTERED, VALIDATED, academic_sessions_vocab)
    2525from kofacustom.nigeria.students.utils import NigeriaStudentsUtils
    2626from waeup.kofa.accesscodes import create_accesscode
     
    3636    """
    3737
    38     PORTRAIT_CHANGE_STATES = (ADMITTED,)
     38    PORTRAIT_CHANGE_STATES = (ADMITTED, CLEARANCE, REQUESTED, CLEARED,
     39        RETURNING, PAID, REGISTERED, VALIDATED)
    3940
    4041    def GPABoundaries(self, faccode=None, depcode=None,
     
    360361            else:
    361362                amount = academic_session.late_registration_fee
     363        elif category == 'ict':
     364            if student.is_fresh:
     365                amount = 2200
     366            else:
     367                amount = 1200
    362368        elif category.startswith('schoolfee'):
    363369            try:
Note: See TracChangeset for help on using the changeset viewer.