Changeset 16025 for main/waeup.uniben


Ignore:
Timestamp:
5 Mar 2020, 15:22:30 (5 years ago)
Author:
Henrik Bettermann
Message:

Allow disabling clearance fee payments for JUPEB students.

Location:
main/waeup.uniben/trunk/src/waeup/uniben
Files:
2 edited

Legend:

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

    r15980 r16025  
    173173            'maint_all' in academic_session.payment_disabled:
    174174            return True
     175        if category == 'clearance':
     176            if 'cl_all' in academic_session.payment_disabled:
     177                return True
     178            if student.is_jupeb and \
     179                'cl_jupeb' in academic_session.payment_disabled:
     180                return True
    175181        return False
    176182
  • main/waeup.uniben/trunk/src/waeup/uniben/utils/utils.py

    r15537 r16025  
    126126        'sf_dp': 'School Fee - Diploma Students',
    127127        'maint_all': 'Accommodation Fee - All Students',
     128        'cl_all': 'Clearance/Acceptance Fee - All Students',
     129        'cl_jupeb': 'Clearance/Acceptance Fee - JUPEB Students',
    128130        }
    129131
Note: See TracChangeset for help on using the changeset viewer.