Changeset 5205 for WAeUP_SRP/trunk
- Timestamp:
- 25 May 2010, 17:30:20 (14 years ago)
- Location:
- WAeUP_SRP/trunk/skins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_epayment/pay_by_sc.py
r3256 r5205 46 46 next_previous_verdict = next_info['next_previous_verdict'] 47 47 48 if 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 48 52 validate = request.has_key("cpsdocument_create_button") 49 53 res,psm,ds = lt.renderLayout(layout_id= 'student_schoolfee', … … 57 61 commit = False, 58 62 ) 63 59 64 if psm == 'invalid': 60 65 psm = 'Please correct your errors!' -
WAeUP_SRP/trunk/skins/waeup_student/getNextInfo.py
r4554 r5205 21 21 22 22 reasons = '' 23 info['payment_allowed'] = False 23 24 24 25 session_id = student_brain.session … … 40 41 info['next_transition'] = "pay_school_fee" 41 42 info['next_verdict'] = '' 43 info['payment_allowed'] = True 42 44 elif review_state == 'returning' and has_verdict and has_level and has_session: 45 info['payment_allowed'] = True 43 46 info['next_session_id'] = next_session_id = "%02d" % (int(session_id)+1) 44 47 if int(session_id) > 4:
Note: See TracChangeset for help on using the changeset viewer.