Changeset 4100


Ignore:
Timestamp:
4 May 2009, 15:32:49 (16 years ago)
Author:
Henrik Bettermann
Message:

resolve aaue #18

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_aaue/getSchoolFee.py

    r4025 r4100  
    2020if brain.mode.endswith('_ft'):
    2121    # fresh full-time Foundation
    22     if str(brain.level) == '000' and brain.review_state == 'cleared_and_validated':
    23         if brain.entry_mode == 'rm_ft' and brain.lga.startswith('edo'):
    24             d['all'] = 65000
    25         else:
    26             d['all'] = 75000
     22    if str(brain.level) == '000' and brain.review_state == 'cleared_and_validated' and brain.entry_mode == 'rm_ft':
     23        d['all'] = 65000
    2724    # fresh tull-time students INE
    2825    elif str(brain.level) == '100' and brain.review_state == 'cleared_and_validated' and brain.faculty == 'INE':
    29         if brain.lga.startswith('edo'):
    30             d['all'] = 44000
    31         else:
    32             d['all'] = 49000
     26        d['all'] = 44000
    3327    # returning full-time students INE
    3428    elif str(brain.level) in ('100','200','300','400','110','210','310','410') and brain.review_state == 'returning' and brain.faculty == 'INE':
    35         if brain.lga.startswith('edo'):
    36             d['all'] = 26300
    37         else:
    38             d['all'] = 31300
     29        d['all'] = 26300
    3930    # postgrad full-time students (fresh)
    4031    elif str(brain.level) == ('600') and brain.review_state == 'cleared_and_validated':
    41         if brain.lga.startswith('edo'):
    42             d['all'] = 62500
    43         elif brain.lga == 'foreigner':
     32        if brain.lga == 'foreigner':
    4433            d['all'] = 189500
    4534        else:
    46             d['all'] = 69500
     35            d['all'] = 62500
    4736    # MBL students (fresh or returning)       
    4837    elif str(brain.level) in ('700','800','710','810') and brain.course in MBL:
    49         if brain.lga.startswith('edo'):
    50             d['all'] = 89500
    51         elif brain.lga == 'foreigner':
     38        if brain.lga == 'foreigner':
    5239            d['all'] = 269500
    5340        else:
    54             d['all'] = 99500
     41            d['all'] = 89500
    5542    # non-MBL students (fresh or returning)   
    5643    elif str(brain.level) in ('700','800','710','810'):
    57         if brain.lga.startswith('edo'):
    58             d['all'] = 69500
    5944        if brain.lga == 'foreigner':
    6045            d['all'] = 219500
    6146        else:
    62             d['all'] = 79500
     47            d['all'] = 69500
    6348    # PHD Students       
    6449    elif str(brain.level) in ('900','910','1000','1010'):
    65         if brain.lga.startswith('edo'):
    66             d['all'] = 99500
    6750        if brain.lga == 'foreigner':
    6851            d['all'] = 269500
    6952        else:
    70             d['all'] = 109500         
    71 
    72 elif brain.mode == 'dp_pt':
    73     # fresh part-time Diploma students
    74     if str(brain.level) == '100' and brain.review_state == 'cleared_and_validated':
    75         if brain.lga.startswith('edo'):
    76             d['all'] = 65000
    77         else:
    78             d['all'] = 75000
    79            
    80     # returning part-time Diploma students
    81     elif str(brain.level) in ('100','200','300','400','110','210','310','410') and brain.review_state == 'returning':
    82         if brain.lga.startswith('edo'):
    83             d['all'] = 50000
    84         else:
    85             d['all'] = 60000
     53            d['all'] = 99500         
    8654       
    8755elif brain.mode.endswith('_pt'):
    8856    # fresh part-time students
    89     if str(brain.level) in ('100','200') and brain.review_state == 'cleared_and_validated':
    90         if brain.lga.startswith('edo'):
     57    if str(brain.level) == '100' and brain.review_state == 'cleared_and_validated':
    9158            d['all'] = 45000
    92         else:
    93             d['all'] = 55000
    94            
     59                   
    9560    # returning part-time students
    9661    elif str(brain.level) in ('100','200','300','400','110','210','310','410') and brain.review_state == 'returning':
    97         if brain.lga.startswith('edo'):
    9862            d['all'] = 30000
    99         else:
    100             d['all'] = 40000
    10163
    102 
     64    # fresh part-time Diploma students
     65    elif str(brain.level) == '100' and brain.review_state == 'cleared_and_validated':
     66            d['all'] = 65000
     67       
     68    # returning part-time Diploma students
     69    elif str(brain.level) in ('100','200','300','400','110','210','310','410') and brain.review_state == 'returning':
     70            d['all'] = 50000
     71       
    10372    # postgrad part-time students
    10473    elif str(brain.level) == '600' and brain.review_state == 'cleared_and_validated':
    105         if brain.lga.startswith('edo'):
    106             d['all'] = 64500
    107         elif brain.lga == 'foreigner':
     74        if brain.lga == 'foreigner':
    10875            d['all'] = 219500
    10976        else:
    110             d['all'] = 74500
     77            d['all'] = 64500
    11178
    11279
Note: See TracChangeset for help on using the changeset viewer.