Ignore:
Timestamp:
12 Nov 2008, 20:46:06 (16 years ago)
Author:
Henrik Bettermann
Message:

second trial to implement new school fee logic

File:
1 edited

Legend:

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

    r3759 r3760  
    7272p_id = "p%s" % timestamp
    7373info['surcharge'] = interswitch_amount = 300
    74 info['amount'] = amount = fee_dict['all']
     74amount = fee_dict['all']
     75bt_amount = 2000
     76fceoyo_split = 500
     77info['amount'] = amount + bt_amount + fceoyo_split
     78
     79#getSchoolFee provides pure school fee, the other fees have to be added
     80total_amount = 100* (amount + interswitch_amount + bt_amount + fceoyo_split)
    7581
    7682if student_id is None:
     
    127133    args[arg] = info[field]
    128134
    129 bt_amount = 2000
    130 fceoyo_split = 500
    131 
    132 #getSchoolFee provides pure school fee, the other fees have to be added
    133 total_amount = 100* (amount + interswitch_amount + bt_amount + fceoyo_split)       
     135   
    134136
    135137
Note: See TracChangeset for help on using the changeset viewer.