Changeset 3993 for WAeUP_SRP/trunk/skins


Ignore:
Timestamp:
2 Mar 2009, 14:59:51 (16 years ago)
Author:
Henrik Bettermann
Message:

resolve FUTMinna #44

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

Legend:

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

    r3846 r3993  
    1919    # fresh remedial
    2020    if str(brain.level) == '000' and brain.review_state == 'cleared_and_validated':
    21         if brain.entry_mode in ('rm_ft'):
     21        if brain.mode == 'rm_ft':
    2222            d['all'] = 74200
    2323        else:
     
    2525    # fresh
    2626    elif brain.review_state == 'cleared_and_validated':
    27         if brain.lga == 'foreigner':
     27        if brain.mode == 'jm_ft':
     28            d['all'] = 70000   
     29        elif brain.lga == 'foreigner':
    2830            d['all'] = 131500 + 5000
    2931        else:
     
    3133    # returning
    3234    elif brain.review_state == 'returning':
    33         if brain.lga == 'foreigner':
     35        if brain.mode == 'jm_ft':
     36            d['all'] = 35200
     37        elif brain.lga == 'foreigner':
    3438            d['all'] = 109500
    3539        else:
  • WAeUP_SRP/trunk/skins/waeup_futminna/pay_interswitch.py

    r3843 r3993  
    140140#students at all levels pay their school fees to different banks
    141141if student_record.review_state == 'cleared_and_validated' and student_record.level in ('100'):
    142     xmldict['fut_acct'] = "0510031193719"
    143     xmldict['bank_id'] = '75'
     142    if brain.mode == 'jm_ft':
     143        xmldict['fut_acct'] = "0030001000016190"
     144        xmldict['bank_id'] = '89'
     145    else:
     146        xmldict['fut_acct'] = "0510031193719"
     147        xmldict['bank_id'] = '75'
    144148elif student_record.review_state == 'returning' and student_record.level in ('100'):   
    145     xmldict['fut_acct'] = "0030001000017110"
    146     xmldict['bank_id'] = '89'
     149    if brain.mode == 'jm_ft':
     150        xmldict['fut_acct'] = "0030001000016190"
     151        xmldict['bank_id'] = '89'       
     152    else:
     153        xmldict['fut_acct'] = "0030001000017110"
     154        xmldict['bank_id'] = '89'
    147155elif student_record.level in ('200'):
    148156    xmldict['fut_acct'] = "2522040000134"
     
    157165elif student_record.level in ('000'):
    158166    xmldict['fut_acct'] = "6013803183"
    159     xmldict['bank_id'] = '117'          
     167    xmldict['bank_id'] = '117'     
    160168else:
    161169    xmldict['fut_acct'] = "0000000000000"
Note: See TracChangeset for help on using the changeset viewer.