Changeset 4119 for WAeUP_SRP/trunk/skins


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

modifications by isouaba (slightly fixed by henrik)

File:
1 edited

Legend:

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

    r4118 r4119  
    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
     24       
    2725    # fresh tull-time students INE
    2826    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
     27        d['all'] = 44000
    3328    # returning full-time students INE
    3429    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
     30        d['all'] = 26300
     31       
    3932    # postgrad full-time students (fresh)
    4033    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':
     34        if brain.lga == 'foreigner':
    4435            d['all'] = 189500
    4536        else:
    46             d['all'] = 69500
     37            d['all'] = 62500
    4738    # MBL students (fresh or returning)       
    4839    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':
     40        if brain.lga == 'foreigner':
    5241            d['all'] = 269500
    5342        else:
    54             d['all'] = 99500
     43            d['all'] = 89500
    5544    # non-MBL students (fresh or returning)   
    5645    elif str(brain.level) in ('700','800','710','810'):
    57         if brain.lga.startswith('edo'):
    58             d['all'] = 69500
    5946        if brain.lga == 'foreigner':
    6047            d['all'] = 219500
    6148        else:
    62             d['all'] = 79500
     49            d['all'] = 69500
    6350    # PHD Students       
    6451    elif str(brain.level) in ('900','910','1000','1010'):
    65         if brain.lga.startswith('edo'):
    66             d['all'] = 99500
    6752        if brain.lga == 'foreigner':
    6853            d['all'] = 269500
    6954        else:
    70             d['all'] = 109500         
     55            d['all'] = 99500         
    7156
    7257elif brain.mode == 'dp_pt':
    7358    # fresh part-time Diploma students
    7459    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            
     60        d['all'] = 65000
    8061    # returning part-time Diploma students
    8162    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
     63        d['all'] = 50000
    8664       
    8765elif brain.mode.endswith('_pt'):
    8866    # fresh part-time students
    8967    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            
     68        d['all'] = 45000
    9569    # returning part-time students
    9670    elif str(brain.level) in ('100','200','300','400','110','210','310','410') and brain.review_state == 'returning':
    97         if brain.lga.startswith('edo'):
    98             d['all'] = 30000
    99         else:
    100             d['all'] = 40000
    101 
    102 
     71        d['all'] = 30000
    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.