Ignore:
Timestamp:
28 Oct 2007, 16:47:34 (17 years ago)
Author:
joachim
Message:

include reasons if payment is not possible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_epayment/payments_view.pt

    r2153 r2461  
    5757        <br />
    5858        <div>
    59           <form tal:condition="info/online_payment"
     59          <form tal:condition="python: info.get('payment_method') == 'online_payment'"
    6060                tal:attributes="action string: ${context/absolute_url}/pay_interswitch" method="post" class="group">
    6161            <input type="submit" name="epayment"
     
    6464                   />
    6565          </form> 
    66           <form tal:condition="info/sc_payment"
     66          <form tal:condition="python: info.get('payment_method') == 'sc_payment'"
    6767                tal:attributes="action string: ${context/absolute_url}/pay_by_sc" method="post" class="group">
    6868            <input type="hidden" name="paid_session"
     
    7575                   />
    7676          </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              <li tal:repeat="reason info/reasons" />
     81            </ul>
     82          </div>
    7783        </div>       
    7884      </span>
     
    8086  </metal:main>
    8187</metal:body>
    82  
Note: See TracChangeset for help on using the changeset viewer.