source: main/waeup.ikoba/trunk/src/waeup/ikoba/customers/browser_templates/paymentspage.pt @ 12806

Last change on this file since 12806 was 12762, checked in by Henrik Bettermann, 10 years ago

Add PaymentsContainerPage? to search for and list payments (work in progress, completely untested).

File size: 1.3 KB
Line 
1<br />
2<table class="ikoba-data-table dataTable">
3  <thead>
4  <tr>
5    <th i18n:translate="">Payment Id</th>
6    <th i18n:translate="">Creation Date</th>
7    <th i18n:translate="">Payment Date</th>
8    <th i18n:translate="">Service</th>
9    <th i18n:translate="">Amount</th>
10    <th i18n:translate="">Currency</th>
11    <th i18n:translate="">State</th>
12    <th i18n:translate="">Contract</th>
13  </tr>
14  </thead>
15  <tbody>
16    <tr tal:repeat="value view/payments">
17      <td><span tal:content="python: value[0].payment_id[:9]"></span>...</td>
18      <td tal:content="python: layout.formatDatetime(value[0].creation_date)">CREATION DATE</td>
19      <td tal:content="python: layout.formatDatetime(value[0].payment_date)">PAYMENT DATE</td>
20      <td tal:content="python: view.gateway_services[value[0].gateway_service].title">SERVICE</td>
21      <td tal:content="python: value[0].amount">AMOUNT</td>
22      <td tal:content="python: value[0].currency">CURRENCY</td>
23      <td tal:content="python: view.payment_states.getTerm(value[0].state).title">STATE</td>
24      <td>
25        <span tal:condition="python: value[1] is not None">
26          <a tal:attributes="href python: view.url(value[2])">
27            <span tal:content="python: value[1].title">PAYABLETITLE</span>
28          </a>
29        </span>
30      </td>
31    </tr>
32  </tbody>
33</table>
Note: See TracBrowser for help on using the repository browser.