Ignore:
Timestamp:
23 May 2012, 09:16:37 (13 years ago)
Author:
Henrik Bettermann
Message:

Take clearance_fee from session configuration object.

File:
1 edited

Legend:

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

    r8474 r8499  
    8181            details['amount'] = academic_session.maint_fee
    8282        elif category == 'clearance':
    83             details['p_item'] = student['studycourse'].certificate.code
    84             if details['p_item'] in ('BEDCET', 'BIOEDCET', 'CHMEDCET', 'ISEDCET',
    85                 'MTHEDCET', 'PHYEDCET', 'ITECET', 'AGREDCET', 'HEEDCET'):
    86                 details['amount'] = 17250.0
    87             else:
    88                 details['amount'] = 34250.0
     83            details['amount'] = academic_session.clearance_fee
    8984        elif category == 'schoolfee':
    9085            details['amount'] = get_school_fee(student)
Note: See TracChangeset for help on using the changeset viewer.