Changeset 4118


Ignore:
Timestamp:
7 May 2009, 10:01:48 (16 years ago)
Author:
Henrik Bettermann
Message:

revert to revision 4099

File:
1 edited

Legend:

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

    r4101 r4118  
    2020if brain.mode.endswith('_ft'):
    2121    # fresh full-time Foundation
    22     if str(brain.level) == '000' and brain.review_state == 'cleared_and_validated' and brain.entry_mode == 'rm_ft':
    23         d['all'] = 65000
     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
    2427    # fresh tull-time students INE
    2528    elif str(brain.level) == '100' and brain.review_state == 'cleared_and_validated' and brain.faculty == 'INE':
    26         d['all'] = 44000
     29        if brain.lga.startswith('edo'):
     30            d['all'] = 44000
     31        else:
     32            d['all'] = 49000
    2733    # returning full-time students INE
    2834    elif str(brain.level) in ('100','200','300','400','110','210','310','410') and brain.review_state == 'returning' and brain.faculty == 'INE':
    29         d['all'] = 26300
     35        if brain.lga.startswith('edo'):
     36            d['all'] = 26300
     37        else:
     38            d['all'] = 31300
    3039    # postgrad full-time students (fresh)
    3140    elif str(brain.level) == ('600') and brain.review_state == 'cleared_and_validated':
    32         if brain.lga == 'foreigner':
     41        if brain.lga.startswith('edo'):
     42            d['all'] = 62500
     43        elif brain.lga == 'foreigner':
    3344            d['all'] = 189500
    3445        else:
    35             d['all'] = 62500
     46            d['all'] = 69500
    3647    # MBL students (fresh or returning)       
    3748    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':
     52            d['all'] = 269500
     53        else:
     54            d['all'] = 99500
     55    # non-MBL students (fresh or returning)   
     56    elif str(brain.level) in ('700','800','710','810'):
     57        if brain.lga.startswith('edo'):
     58            d['all'] = 69500
     59        if brain.lga == 'foreigner':
     60            d['all'] = 219500
     61        else:
     62            d['all'] = 79500
     63    # PHD Students       
     64    elif str(brain.level) in ('900','910','1000','1010'):
     65        if brain.lga.startswith('edo'):
     66            d['all'] = 99500
    3867        if brain.lga == 'foreigner':
    3968            d['all'] = 269500
    4069        else:
    41             d['all'] = 89500
    42     # non-MBL students (fresh or returning)   
    43     elif str(brain.level) in ('700','800','710','810'):
    44         if brain.lga == 'foreigner':
    45             d['all'] = 219500
     70            d['all'] = 109500         
     71
     72elif 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
    4684        else:
    47             d['all'] = 69500
    48     # PHD Students       
    49     elif str(brain.level) in ('900','910','1000','1010'):
    50         if brain.lga == 'foreigner':
    51             d['all'] = 269500
    52         else:
    53             d['all'] = 99500         
     85            d['all'] = 60000
    5486       
    5587elif brain.mode.endswith('_pt'):
    5688    # fresh part-time students
    57     if str(brain.level) == '100' and brain.review_state == 'cleared_and_validated':
    58         d['all'] = 45000
    59                    
     89    if str(brain.level) in ('100','200') and brain.review_state == 'cleared_and_validated':
     90        if brain.lga.startswith('edo'):
     91            d['all'] = 45000
     92        else:
     93            d['all'] = 55000
     94           
    6095    # returning part-time students
    6196    elif str(brain.level) in ('100','200','300','400','110','210','310','410') and brain.review_state == 'returning':
    62         d['all'] = 30000
     97        if brain.lga.startswith('edo'):
     98            d['all'] = 30000
     99        else:
     100            d['all'] = 40000
    63101
    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        
     102
    72103    # postgrad part-time students
    73104    elif str(brain.level) == '600' and brain.review_state == 'cleared_and_validated':
    74         if brain.lga == 'foreigner':
     105        if brain.lga.startswith('edo'):
     106            d['all'] = 64500
     107        elif brain.lga == 'foreigner':
    75108            d['all'] = 219500
    76109        else:
    77             d['all'] = 64500
     110            d['all'] = 74500
    78111
    79112
Note: See TracChangeset for help on using the changeset viewer.