Ignore:
Timestamp:
10 Jan 2011, 15:00:05 (14 years ago)
Author:
Henrik Bettermann
Message:

Second step of implementation of second hostel fee.

accommodation_edit_form has to be changed too.

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

Legend:

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

    r5607 r5628  
    3030
    3131
    32 if paytype in ("HOM",):
     32if paytype in ('HOM','HOMH',):
    3333    d['callback_function'] = 'interswitch_cb'
    3434    d['pay_item_id'] = '11701'
    3535    d['type_description'] = 'Hostel Maintenance Fee'
    3636    d['pay_item_name'] = "FUT Minna %(type_description)s" % d
    37     if student_record.level  in ('100','200','300','400','500') and student_record.faculty in ('EET','SET','AAT','ICT','EMT'):
     37    if paytype == 'HOMH':
     38        d['amount'] = 15000
     39    elif student_record.level  in ('100','200','300','400','500') and student_record.faculty in ('EET','SET','AAT','ICT','EMT'):
    3840        d['amount'] = 9000
    3941    else:
  • WAeUP_SRP/trunk/skins/waeup_futminna/pay_interswitch_acco.py

    r5603 r5628  
    4040payment_id = "p%s" % timestamp
    4141order_id = "%s%s" % (student_id[1:],timestamp)
    42 hostel = paytype == "HOM"
     42hostel = paytype in ('HOM','HOMH',)
    4343if hostel:
    4444    info = context.getInterswitchParams(paytype,student,payment_id,order_id,student_record)
Note: See TracChangeset for help on using the changeset viewer.