Ignore:
Timestamp:
12 Nov 2008, 13:19:51 (16 years ago)
Author:
Henrik Bettermann
Message:

new school fee logig for Oyo and Okene

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

Legend:

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

    r3739 r3759  
    2323    if str(brain.level) == '000' and brain.review_state == 'cleared_and_validated':
    2424        if brain.department in ARTS:
    25             d['all'] = 16950
     25            d['all'] = 14770
    2626        else:
    27             d['all'] = 17550
     27            d['all'] = 15370
    2828    elif str(brain.level) == '100' and brain.review_state == 'cleared_and_validated':
    2929        if brain.department in ARTS:
     
    3131        else:
    3232            d['all'] = 10420
     33  # new addition for prence to nce-i students whose fees are different from other nce-i students
     34    elif str(brain.level) == '100' and brain.review_state == 'cleared_and_validated' and brain.entry_mode == 'prence':
     35        if brain.department in ARTS:
     36            d['all'] = 13320
     37        else:
     38            d['all'] = 14420
    3339    elif str(brain.level) == '100' and brain.review_state == 'returning':
    3440        if brain.department in ARTS:
    35             d['all'] = 7820
     41            d['all'] = 8320
    3642        else:
    37             d['all'] = 8420
     43            d['all'] = 8920
    3844    elif str(brain.level) in ('200','210','220'):
    3945        if brain.department in ARTS:
     
    5157            d['all'] = 4950
    5258        else:
    53             d['all'] = 6800           
     59            d['all'] = 5550           
    5460    else:
    5561        d['all'] = 0
  • WAeUP_SRP/trunk/skins/waeup_fceoyo/pay_interswitch.py

    r3752 r3759  
    127127    args[arg] = info[field]
    128128
    129 bt_amount = 1750
    130 fceoyo_split = 750
     129bt_amount = 2000
     130fceoyo_split = 500
    131131
    132 #getSchoolFee provides pure school fee, the fees have to be added
     132#getSchoolFee provides pure school fee, the other fees have to be added
    133133total_amount = 100* (amount + interswitch_amount + bt_amount + fceoyo_split)       
    134134
     
    142142
    143143if student_record.mode in ('ug_sw','prence',):
    144     xmldict['fceoyo_acct'] = "0285001000000899"
     144    xmldict['fceoyo_acct'] = "0061001000021076"
    145145    xmldict['bank_id'] = '89'
    146146elif student_record.mode in ('ug_ft',):
    147     xmldict['fceoyo_acct'] = "1681001000137"
     147    xmldict['fceoyo_acct'] = "3030010073"
    148148    xmldict['bank_id'] = '125'
    149149else:
     
    157157<item_details detail_ref="%(detail_ref)s" college="fceoyo" department="%(department)s" faculty="%(faculty)s" >
    158158<item_detail item_id="1" item_name="FCEOyo School Fee" item_amt="%(amount)s" bank_id="%(bank_id)s" acct_num="%(fceoyo_acct)s" />
    159 <item_detail item_id="2" item_name="FCEOyo Split" item_amt="%(fceoyo_split)s" bank_id="125" acct_num="1681001000119" />
    160 <item_detail item_id="3" item_name="BT" item_amt="%(bt_amount)s" bank_id="89" acct_num="0061001000021095" />
     159<item_detail item_id="2" item_name="FCEOyo Split" item_amt="%(fceoyo_split)s" bank_id="125" acct_num="3030010076" />
     160<item_detail item_id="3" item_name="BT" item_amt="%(bt_amount)s" bank_id="89" acct_num="0061001000021096" />
    161161</item_details>
    162162</payment_item_detail>""" % xmldict
Note: See TracChangeset for help on using the changeset viewer.