Ignore:
Timestamp:
13 May 2010, 10:20:33 (15 years ago)
Author:
Henrik Bettermann
Message:

implement request payment

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_aaue/payments_view.pt

    r5189 r5190  
    4747            </td>
    4848            <td>
    49               <a tal:condition="row/is_requeryable"
     49              <a tal:condition="row/is_requestable"
    5050                 tal:attributes="href row/href;
    5151                 onclick python:'return window.confirm(\'%s\')' %(cpsmcat('Are you sure?'), );"
     
    6868        <div>
    6969          <form tal:condition="python: info.get('payment_method') in ('online_payment','both_payments')"
    70                 tal:attributes="action string: ${context/absolute_url}/pay_interswitch" method="post" class="group">
     70                tal:attributes="action string: ${context/absolute_url}/request_interswitch" method="post" class="group">
    7171            <input type="submit" name="epayment"
    7272                   class="context"
    7373                   value="Pay"
    74                    tal:attributes="value string:Initiate ${info/next_session_str} School Fee Payment by Cash Card"
     74                   tal:attributes="value string:Request ${info/next_session_str} School Fee Payment Data from Interswitch"
    7575                   />
    7676          </form> 
    7777          <form tal:condition="python: info.get('payment_method') in ('first_instalment',)"
    78                 tal:attributes="action string: ${context/absolute_url}/pay_interswitch" method="post" class="group">
     78                tal:attributes="action string: ${context/absolute_url}/request_interswitch" method="post" class="group">
    7979            <input type="submit" name="epayment"
    8080                   class="context"
    8181                   value="Pay"
    82                    tal:attributes="value string:Initiate ${info/next_session_str} School Fee Payment by Cash Card (First Instalment)"
     82                   tal:attributes="value string:Request ${info/next_session_str} School Fee Payment Data from Interswitch (First Instalment)"
    8383                   />
    8484          </form> 
    8585          <form tal:condition="python: info.get('payment_method') in ('second_instalment',)"
    86                 tal:attributes="action string: ${context/absolute_url}/pay_interswitch2" method="post" class="group">
     86                tal:attributes="action string: ${context/absolute_url}/request_interswitch2" method="post" class="group">
    8787            <input type="submit" name="epayment"
    8888                   class="context"
    8989                   value="Pay"
    90                    tal:attributes="value string:Initiate School Fee Payment by Cash Card (Second Instalment)"
     90                   tal:attributes="value string:Request School Fee Payment from Interswitch (Second Instalment)"
    9191                   />
    9292          </form>                       
    93           <form tal:condition="python: info.get('payment_method') in ('sc_payment','both_payments')"
    94                 tal:attributes="action string: ${context/absolute_url}/pay_by_sc" method="post" class="group">
    95             <input type="hidden" name="paid_session"
    96                    tal:attributes="value info/next_session"
    97                    />
    98             <input type="submit" name="epayment"
    99                    class="context"
    100                    value="Pay"
    101                    tal:attributes="value string:Initiate ${info/next_session_str} School Fee Payment by Scratch Card"
    102                    />
    103           </form>   
     93
    10494         
    10595          <form tal:condition="info/gown|nothing"
Note: See TracChangeset for help on using the changeset viewer.