Ignore:
Timestamp:
12 Jul 2008, 15:57:41 (16 years ago)
Author:
Henrik Bettermann
Message:

implement AAUA school fee schema

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/aaua/waeup_custom/getSchoolFee.py

    r3073 r3567  
    1414
    1515
    16 ARTS = ('CRS','ISS','HIS','MUS','ECO','GEO','POL','SOS','CCA','ECU','THA','GED','GSE','PES','SPC','ENG ','FRE','ARB','HAU','IGB','YOR','FAA')
     16d = {}
    1717
    18 # SCS = ('BIO','CHE','HED','MAT','PED','PHY ','CSC','ISC','PHE','AGE','BED','HEC','TED')
    19 
    20 d = {}
    21 if str(brain.level) == '100' and brain.review_state == 'cleared_and_validated':
    22     if brain.department in ARTS:
    23         d['all'] = 11520
     18if brain.mode == 'ug_sw': 
     19    if str(brain.level) == '100':    # both 100 fresh and 100 returning who register for 200
     20        d['all'] = 35000
    2421    else:
    25         d['all'] = 11995
    26 elif str(brain.level) == '000' and brain.review_state == 'cleared_and_validated':
    27     if brain.department in ARTS:
    28         d['all'] = 14400
     22        d['all'] = 30000
     23elif brain.mode == 'pg_sw': 
     24    d['all'] = 35000
     25elif brain.mode == 'dp_pt': 
     26    if str(brain.level) == '100' and brain.review_state == 'cleared_and_validated':    # only 100 fresh
     27        d['all'] = 40000
    2928    else:
    30         d['all'] = 14900
    31 elif str(brain.level) == '100' and brain.review_state == 'returning':
    32     if brain.department in ARTS:
    33         d['all'] = 10570
     29        d['all'] = 35000
     30elif brain.mode == 'ug_pt': 
     31    if str(brain.level) == '100' and brain.review_state == 'cleared_and_validated':    # only 100 fresh
     32        d['all'] = 50000
    3433    else:
    35         d['all'] = 11045
    36 elif str(brain.level) in ('200','210','220'):
    37     if brain.department in ARTS:
    38         d['all'] = 10570
     34        d['all'] = 45000
     35elif brain.mode == 'pg_pt': 
     36    if str(brain.level) == '600' and brain.review_state == 'cleared_and_validated':    # only 600 fresh
     37        d['all'] = 60000
     38    elif str(brain.level) == '600' and brain.verdict == 'C':                           # 600 repeaters
     39        d['all'] = 55000
     40    elif str(brain.level) == '600':                                                    # going to register for 700
     41        d['all'] = 75000       
    3942    else:
    40         d['all'] = 11045
    41 # repeaters = spillover
    42 elif str(brain.level) in ('300','310','320'):
    43     if brain.department in ARTS:
    44         d['all'] = 8670
    45     else:
    46         d['all'] = 9145
     43        d['all'] = 65000
    4744else:
    4845    d['all'] = 0
Note: See TracChangeset for help on using the changeset viewer.