Changeset 4437 for WAeUP_SRP/trunk/skins


Ignore:
Timestamp:
27 Jul 2009, 09:54:27 (15 years ago)
Author:
Henrik Bettermann
Message:

change fceokene bank account data

Location:
WAeUP_SRP/trunk/skins/waeup_fceokene
Files:
1 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_fceokene/pay_interswitch.py

    r4192 r4437  
    1 ## Script (Python) "pay_online"
     1## Script (Python) "pay_interswitch"
    22##bind container=container
    33##bind context=context
     
    2828wftool = context.portal_workflow
    2929students = context.portal_url.getPortalObject().campus.students
    30 
    31 
    3230student_id = context.getStudentId()
    3331student = getattr(students,student_id)
    34 
    3532student_record = context.students_catalog.getRecordByKey(student_id)
    3633#amount,description = context.getSchoolFee(student_record.faculty,student_record.session,student_record.course)
     
    5047info['site_id'] = '83'
    5148info['currency_id'] = '566'
    52 pay_item_id = "8304"
     49pay_item_id = "8302"
    5350
    5451#info['type_code'] = sbrain.course  #type_code is redundant and will be removed soon
     
    141138
    142139if student_record.mode in ('ug_sw','prence',):
    143     xmldict['fceokene_acct'] = "04470040000032"
    144     xmldict['bank_id'] = '7'
     140    xmldict['fceokene_acct'] = "6216801025"
     141    xmldict['bank_id'] = '117'
    145142elif student_record.mode in ('ug_ft',):
    146     xmldict['fceokene_acct'] = "2822010008611"
    147     xmldict['bank_id'] = '8'
     143    xmldict['fceokene_acct'] = "6216801033"
     144    xmldict['bank_id'] = '117'
    148145else:
    149146    xmldict['fceokene_acct'] = "0000000000000"
     
    154151<item_details detail_ref="%(detail_ref)s" college="FCE Okene" department="%(department)s" faculty="%(faculty)s">
    155152<item_detail item_id="1" item_name="FCEOkene School Fee" item_amt="%(fceokene_amount)s" bank_id="%(bank_id)s" acct_num="%(fceokene_acct)s" />
    156 <item_detail item_id="2" item_name="FCEOkene Split" item_amt="%(fceokene_split)s" bank_id="8" acct_num="2822040000037" />
     153<item_detail item_id="2" item_name="FCEOkene Split" item_amt="%(fceokene_split)s" bank_id="117" acct_num="6216801058" />
    157154<item_detail item_id="3" item_name="BT" item_amt="%(bt_amount)s" bank_id="89" acct_num="0061001000021095" />
    158155</item_details>
     
    172169
    173170return context.goto_interswitch_form(info=info)
    174 
Note: See TracChangeset for help on using the changeset viewer.