Ignore:
Timestamp:
13 Dec 2022, 11:40:19 (2 years ago)
Author:
Henrik Bettermann
Message:

Implement Interswitch WebCheckout?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.lpng/trunk/src/kofacustom/lpng/applicants/browser_templates/applicantdisplaypage.pt

    r17198 r17216  
    5454<br />
    5555
    56 <a tal:attributes="href python:view.url(context, 'ussdinfo')" class="btn-big btn btn-primary">Make Donation via USSD</a>
    57 
    58 <tal:payments condition="view/display_payments">
     56<tal:payments condition="python: view.display_payments and len(context.payments)">
    5957  <h3 i18n:domain="waeup.kofa" i18n:translate="">
    6058      Payment Tickets
     
    6765        <th i18n:translate="">Payment Date</th>
    6866        <th i18n:translate="">Category</th>
    69         <th i18n:translate="">Item</th>
    7067        <th i18n:translate="">State</th>
    7168      </tr>
     
    7875        <td tal:content="python: layout.formatDatetime(value.payment_date)">PAYMENT DATE</td>
    7976        <td tal:content ="value/category">CATEGORY</td>
    80         <td tal:content ="value/display_item">ITEM</td>
    8177        <td tal:content ="value/p_state_title">STATE</td>
    8278      </tr>
     
    8480  </table>
    8581</tal:payments>
     82
     83<a tal:attributes="href python:view.url(context, 'addbp')" class="btn-big btn btn-primary">Make Donation</a>
Note: See TracChangeset for help on using the changeset viewer.