Ignore:
Timestamp:
28 Oct 2007, 13:56:01 (17 years ago)
Author:
Henrik Bettermann
Message:

show payment button only if verdict, session and level are not empty
pay_by_sc.py: open study_course to fill new level and session after payment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_epayment/getPaymentsFolderInfo.py

    r2454 r2459  
    6262#    sc_payment = True
    6363
    64 if review_state == 'cleared_and_validated':
    65     online_payment = True
    66 elif review_state == 'returning':
    67     sc_payment = True
    68 
    6964info['online_payment'] = online_payment
    7065info['sc_payment'] = sc_payment
     
    7469info['next_session'] = next_info['next_session_id']
    7570info['next_session_str'] = next_info['next_session_str']
     71
     72if review_state == 'cleared_and_validated':
     73    online_payment = True
     74elif review_state == 'returning' and info['next_session'] != session:
     75    sc_payment = True
    7676
    7777info['student_name'] = s_brain.name
Note: See TracChangeset for help on using the changeset viewer.