source: main/waeup.kofa/trunk/src/waeup/kofa/students/browser_templates/paymentsmanagepage.pt @ 10155

Last change on this file since 10155 was 10080, checked in by Henrik Bettermann, 12 years ago

Change permissions for PaymentsManageFormPage?. The view permission is sufficient to view the manage page but no payment can be removed.

File size: 1.6 KB
Line 
1<form action="." tal:attributes="action request/URL" method="POST"
2      i18n:domain="waeup.kofa" enctype="multipart/form-data">
3
4  <table class="display dataTableManage">
5    <thead>
6    <tr>
7      <th>&nbsp;</th>
8      <th i18n:translate="">Payment Id</th>
9      <th i18n:translate="">Creation Date</th>
10      <th i18n:translate="">Payment Date</th>
11      <th i18n:translate="">Category</th>
12      <th i18n:translate="">Item</th>
13      <th i18n:translate="">Amount</th>
14      <th i18n:translate="">Session</th>
15      <th i18n:translate="">State</th>
16    </tr>
17    </thead>
18    <tbody>
19      <tr tal:repeat="cl context/values">
20         <td>
21          <input type="checkbox"
22                 name="val_id"
23                 tal:attributes="value cl/__name__"
24         tal:condition="python: not view.unremovable(cl)" />
25        </td>
26        <td> <a tal:attributes="href cl/__name__">
27        <span tal:content="cl/p_id">PID</span></a></td>
28        <td tal:content="python: layout.formatDatetime(cl.creation_date)">CREATION DATE</td>
29        <td tal:content="python: layout.formatDatetime(cl.payment_date)">PAYMENT DATE</td>
30      <td nowrap tal:content ="cl/category">CATEGORY</td>
31      <td tal:content ="cl/display_item">ITEM</td>
32      <td tal:content ="cl/amount_auth">AMOUNT</td>
33      <td tal:content ="cl/p_session">SESSION</td>
34      <td tal:content ="cl/state">STATE</td>
35      </tr>
36    </tbody>
37  </table>
38
39  <div tal:condition="python: view.availableActions and view.manage_payments_allowed">
40    <span tal:repeat="action view/actions"
41          tal:omit-tag="">
42      <input tal:replace="structure action/render"/>
43    </span>
44  </div>
45</form>
Note: See TracBrowser for help on using the repository browser.