Ignore:
Timestamp:
25 Feb 2008, 22:53:37 (17 years ago)
Author:
Henrik Bettermann
Message:

adjust getPaymentsFolderInfo.py to Okene version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/fceokene/waeup_custom/getPaymentsFolderInfo.py

    r3227 r3229  
    5858fulltime = student_record.mode and student_record.mode.endswith('_ft')
    5959
    60 #if review_state == 'cleared_and_validated' or (parttime and review_state == 'returning'):
    61 #    online_payment = True
    62 #elif fulltime and review_state == 'returning':
    63 #    sc_payment = True
    6460
    6561session = student_record.session
     
    7268if review_state == 'cleared_and_validated':
    7369    info['payment_method'] = "online_payment"
     70
     71
    7472elif review_state == 'returning' and info['next_session'] != session:
    7573    info['payment_method'] = "online_payment"
     
    9593    row['is_requeryable'] = "%s_%s" % (payment.type,payment.session_id) not in paid_fees or str(member) in ('admin',)
    9694    row['is_approvable'] = is_so and row['is_requeryable']
    97     row['resp_desc'] = payment.resp_desc or (row['is_requeryable'] and 'Payment Process Interrupted')
     95    row['resp_desc'] = payment.resp_desc or 'Payment Process Interrupted'
    9896    row['trans_ref'] = payment.order_id
    9997    if row['is_requeryable']:
Note: See TracChangeset for help on using the changeset viewer.