Changeset 2466 for WAeUP_SRP/base/skins/waeup_epayment
- Timestamp:
- 28 Oct 2007, 20:58:41 (17 years ago)
- Location:
- WAeUP_SRP/base/skins/waeup_epayment
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_epayment/getPaymentsFolderInfo.py
r2461 r2466 64 64 info['next_session'] = next_info['next_session_id'] 65 65 info['next_session_str'] = next_info['next_session_str'] 66 info['payment_method'] = "done" 67 if next_info['next_transition'] is None and next_info['reasons']: 68 info['payment_method'] = "not_possible" 69 info['reasons'] = next_info['reasons'] 70 elif review_state == 'cleared_and_validated': 66 info['payment_method'] = "" 67 info['reasons'] = next_info['reasons'] 68 69 if review_state == 'cleared_and_validated': 71 70 info['payment_method'] = "online_payment" 72 71 elif review_state == 'returning' and info['next_session'] != session: 73 72 info['payment_method'] = "sc_payment" 74 75 73 info['prod_id'] = '61' 76 77 74 78 75 info['student_name'] = s_brain.name -
WAeUP_SRP/base/skins/waeup_epayment/payments_view.pt
r2464 r2466 75 75 /> 76 76 </form> 77 <div tal:condition="python: info.get('payment_method') == 'not_possible'"> 78 You are not able to pay your schoolfee because: <br /> 79 <ul> 80 <span tal:repeat="reason info/reasons" tal:omit-tag=""> 81 <li tal:content="reason" /> 82 </span> 83 </ul> 77 <div tal:condition="info/reasons"> 78 <font color="red" tal:content="info/reasons"></font> 79 <br /><br /> 84 80 </div> 85 81 </div>
Note: See TracChangeset for help on using the changeset viewer.