Ignore:
Timestamp:
16 Mar 2009, 07:59:01 (16 years ago)
Author:
Henrik Bettermann
Message:

getSchoolFee.py: next trial
pay_interswitch.py: change BT bank account

Location:
WAeUP_SRP/trunk/skins/waeup_aaue
Files:
2 edited

Legend:

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

    r3907 r4014  
    1616d = {}
    1717
     18d['all'] = 0
     19
    1820if brain.mode.endswith('_ft'):
    1921    # fresh full-time Foundation
    2022    if str(brain.level) == '000' and brain.review_state == 'cleared_and_validated':
    2123        if brain.entry_mode == 'rm_ft' and brain.lga.startswith('edo'):
    22             d['all'] = 50000
     24            d['all'] = 65000
    2325        else:
    24             d['all'] = 60000
     26            d['all'] = 75000
    2527    # fresh tull-time students INE
    2628    elif str(brain.level) == '100' and brain.review_state == 'cleared_and_validated' and brain.faculty == 'INE':
    2729        if brain.lga.startswith('edo'):
    28             d['all'] = 22000
     30            d['all'] = 44000
    2931        else:
    30             d['all'] = 0
     32            d['all'] = 49000
    3133    # returning full-time students INE
    3234    elif str(brain.level) in ('100','200','300','400','110','210','310','410') and brain.review_state == 'returning' and brain.faculty == 'INE':
    3335        if brain.lga.startswith('edo'):
    34             d['all'] = 4300
     36            d['all'] = 26300
    3537        else:
    36             d['all'] = 0
     38            d['all'] = 31300
    3739    # postgrad full-time students (fresh)
    3840    elif str(brain.level) == ('600') and brain.review_state == 'cleared_and_validated':
     
    6769        else:
    6870            d['all'] = 109500         
    69     else:
    70         d['all'] = 0       
    71 else:
    72     # fresh part-time students INE
    73     if str(brain.level) == '100' and brain.review_state == 'cleared_and_validated' and brain.faculty == 'INE':
     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
     84        else:
     85            d['all'] = 60000
     86       
     87elif brain.mode.endswith('_pt'):
     88    # fresh part-time students
     89    if str(brain.level) == '100' and brain.review_state == 'cleared_and_validated':
    7490        if brain.lga.startswith('edo'):
    7591            d['all'] = 45000
    7692        else:
    7793            d['all'] = 55000
    78     # returning part-time students INE
    79     elif str(brain.level) in ('100','200','300','400','110','210','310','410') and brain.review_state == 'returning' and brain.faculty == 'INE':
     94           
     95    # returning part-time students
     96    elif str(brain.level) in ('100','200','300','400','110','210','310','410') and brain.review_state == 'returning':
    8097        if brain.lga.startswith('edo'):
    8198            d['all'] = 30000
    8299        else:
    83100            d['all'] = 40000
     101
     102
    84103    # postgrad part-time students
    85104    elif str(brain.level) == '600' and brain.review_state == 'cleared_and_validated':
    86105        if brain.lga.startswith('edo'):
    87106            d['all'] = 64500
    88         if brain.lga == 'foreigner':
     107        elif brain.lga == 'foreigner':
    89108            d['all'] = 219500
    90109        else:
    91110            d['all'] = 74500
    92     else:
    93         d['all'] = 0
    94111
    95112
  • WAeUP_SRP/trunk/skins/waeup_aaue/pay_interswitch.py

    r3906 r4014  
    157157<item_detail item_id="1" item_name="AAUE School Fee" item_amt="%(amount)s" bank_id="123" acct_num="6020008887" />
    158158<item_detail item_id="2" item_name="AAUE Split" item_amt="%(aaue_split)s" bank_id="123" acct_num="6020008887" />
    159 <item_detail item_id="3" item_name="BT" item_amt="%(bt_amount)s" bank_id="89" acct_num="0061001000021096" />
     159<item_detail item_id="3" item_name="BT" item_amt="%(bt_amount)s" bank_id="117" acct_num="6012015294" />
    160160</item_details>
    161161</payment_item_detail>""" % xmldict
Note: See TracChangeset for help on using the changeset viewer.