source: main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/paymentsmanagepage.pt @ 7088

Last change on this file since 7088 was 6940, checked in by Henrik Bettermann, 13 years ago

We only need a PaymentsManageFormPage? which can be used by both students and students officers but students are not allowed to remove payment tickets which have received a valid callback.

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