Changeset 13636


Ignore:
Timestamp:
19 Jan 2016, 08:45:25 (9 years ago)
Author:
Henrik Bettermann
Message:

Allow foundation programme students only to pay 'schoolfee', 'clearance', 'late_registration' fees.

File:
1 edited

Legend:

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

    r13609 r13636  
    162162        elif category == 'concessional':
    163163            amount = academic_session.concessional_fee
     164        elif student.current_mode == 'found' and category not in (
     165            'schoolfee', 'clearance', 'late_registration'):
     166            return _('Not allowed.'), None
    164167        elif category.startswith('clearance'):
    165168            if student.state not in (ADMITTED, CLEARANCE, REQUESTED, CLEARED):
Note: See TracChangeset for help on using the changeset viewer.