source: main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/browser_templates/paymentsmanagepage.pt @ 17889

Last change on this file since 17889 was 17584, checked in by Henrik Bettermann, 14 months ago

Disable balance table.

File size: 2.4 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="kofa-data-table 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 python: view.url(cl)">
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 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/p_state_title">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  <br /><br />
46  <p tal:condition="python: False">
47  <strong>Balance Brought Forward:</strong> <span tal:content ="python: view.sfp_made[1]">BROUGHTFORWARD</span>
48  </p>
49  <br />
50  <table class="table" style="width: 50%;" tal:condition="python: False">
51    <thead>
52    <tr>
53      <th i18n:translate="">Session</th>
54      <th i18n:translate="">School Fees</th>
55      <th i18n:translate="">Amount Paid</th>
56      <th i18n:translate="">Amount Due</th>
57    </tr>
58    </thead>
59    <tbody>
60      <tr tal:repeat="sfpm python: view.sfp_made[0]">
61        <td tal:content ="python: '%s/%s' %(sfpm[0],sfpm[0]+1)">SESSION</td>
62        <td tal:content ="python: sfpm[1][0]">FEE</td>
63        <td tal:content ="python: sfpm[1][1]">AMOUNT PAID</td>
64        <td tal:content ="python: sfpm[1][2]">TOTAL AMOUNT DUE</td>
65      </tr>
66    </tbody>
67  </table>
68</form>
Note: See TracBrowser for help on using the repository browser.