Changeset 4294 for WAeUP_SRP/trunk/skins/waeup_epayment
- Timestamp:
- 15 Jun 2009, 15:49:24 (16 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_epayment
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_epayment/getPaymentsFolderInfo.py
r4198 r4294 56 56 # begin customization 57 57 58 if review_state == 'cleared_and_validated' and session not in ('07','08'):59 info['payment_method'] = " sc_payment"58 if review_state == 'cleared_and_validated' and session == '06': 59 info['payment_method'] = "both_payments" 60 60 elif review_state == 'cleared_and_validated' and session in ('07','08'): 61 61 info['payment_method'] = "sc_payment" -
WAeUP_SRP/trunk/skins/waeup_epayment/payments_view.pt
r3736 r4294 67 67 <br /> 68 68 <div> 69 <form tal:condition="python: info.get('payment_method') == 'online_payment'"69 <form tal:condition="python: info.get('payment_method') in ('online_payment','both_payments')" 70 70 tal:attributes="action string: ${context/absolute_url}/pay_interswitch" method="post" class="group"> 71 71 <input type="submit" name="epayment" 72 72 class="context" 73 value="Initiate School Fee Online Payment" 73 value="Pay" 74 tal:attributes="value string:Initiate ${info/next_session_str} School Fee Payment by Cash Card" 74 75 /> 75 76 </form> 76 <form tal:condition="python: info.get('payment_method') == 'sc_payment'"77 <form tal:condition="python: info.get('payment_method') in ('sc_payment','both_payments')" 77 78 tal:attributes="action string: ${context/absolute_url}/pay_by_sc" method="post" class="group"> 78 79 <input type="hidden" name="paid_session" … … 81 82 <input type="submit" name="epayment" 82 83 class="context" 83 value="Pay School Fee by Scratch Card"84 tal:attributes="value string: Pay ${info/next_session_str} School Feeby Scratch Card"84 value="Pay" 85 tal:attributes="value string:Initiate ${info/next_session_str} School Fee Payment by Scratch Card" 85 86 /> 86 87 </form>
Note: See TracChangeset for help on using the changeset viewer.