Changeset 8110 for WAeUP_SRP


Ignore:
Timestamp:
11 Apr 2012, 14:16:35 (13 years ago)
Author:
Henrik Bettermann
Message:

getPaymentsFolderInfo.py: Do not show button if verdict is missing.

pay_interswitch.py: Reduce BT share.

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

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_uniben/getPaymentsFolderInfo.py

    r8028 r8110  
    5959info['payment_method'] = ""
    6060
    61 if review_state == 'cleared_and_validated' and session in ('11','12','13'):
     61if not next_info['payment_allowed']:
     62    pass
     63elif review_state == 'cleared_and_validated' and session in ('11','12','13'):
    6264    info['payment_method'] = "online_payment"
    6365elif review_state == 'returning' and session in ('11','12','13'):
  • WAeUP_SRP/trunk/skins/waeup_uniben/pay_interswitch.py

    r8060 r8110  
    128128    args[arg] = info[field]
    129129itotal = int(amount)*100
    130 bt_amount = 190000
    131 interswitch_amount = 15000
     130
     131#BT Amount Varies
     132if student_record.mode.endswith('_ft') and student_record.review_state == 'return':
     133        bt_amount = 60000
     134else:
     135        bt_amount = 150000
     136#Interswitch amount reviewed down to 100 naira
     137interswitch_amount = 10000
    132138uniben_amount = itotal - bt_amount - interswitch_amount
    133139xmldict = {}
Note: See TracChangeset for help on using the changeset viewer.