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

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

Fix template and add test.

File size: 1.1 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="">Title</th>
13  </tr>
14  </thead>
15  <tbody>
16    <tr tal:repeat="value view/payments">
17      <td tal:content="python: value.payment_id[:9]">PAYMENT_ID</td>
18      <td tal:content="python: layout.formatDatetime(value.creation_date)">CREATION DATE</td>
19      <td tal:content="python: layout.formatDatetime(value.payment_date)">PAYMENT DATE</td>
20      <td tal:content="python: view.gateway_services[value.gateway_service].title">SERVICE</td>
21      <td tal:content="python: value.amount">AMOUNT</td>
22      <td tal:content="python: value.currency">CURRENCY</td>
23      <td tal:content="python: view.payment_states.getTerm(value.state).title">STATE</td>
24      <td tal:content="python: value.title">TITLE</td>
25    </tr>
26  </tbody>
27</table>
Note: See TracBrowser for help on using the repository browser.