Ignore:
Timestamp:
25 May 2010, 17:30:20 (15 years ago)
Author:
Henrik Bettermann
Message:

avoid double payments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_epayment/pay_by_sc.py

    r3256 r5205  
    4646next_previous_verdict = next_info['next_previous_verdict']
    4747
     48if not next_info['payment_allowed']:
     49    logger.info('%s called pay_by_sc manually' % student_id)     
     50    return 'Do not call this form manually!'
     51
    4852validate = request.has_key("cpsdocument_create_button")
    4953res,psm,ds = lt.renderLayout(layout_id= 'student_schoolfee',
     
    5761                      commit = False,
    5862                      )
     63                     
    5964if psm == 'invalid':
    6065    psm = 'Please correct your errors!'
Note: See TracChangeset for help on using the changeset viewer.