c1a9ff022d1f8083f805b5a4fca4417f432773fe
[kivitendo-erp.git] / templates / webpages / bankaccounts / list.html
1 [%- USE HTML -%][%- USE LxERP -%][%- USE L -%][%- USE T8 -%][%- INCLUDE 'common/flash.html' %]
2
3 <h1>[% title %]</h1>
4
5 <p>
6  <table width="100%" id="bankaccount_list">
7   <thead>
8    <tr class="listheading">
9     <th align="center" width="1%"><img src="image/updown.png" alt="[ LxERP.t8('reorder item') %]"></th>
10     <th>[% 'Name' | $T8 %]</th>
11     <th>[% 'IBAN' | $T8 %]</th>
12     <th>[% 'Bank' | $T8 %]</th>
13     <th>[% 'Bank code' | $T8 %]</th>
14     <th>[% 'BIC' | $T8 %]</th>
15     <th>[% 'Date' | $T8 %]</th>
16     <th>[% 'Balance' | $T8 %]</th>
17    </tr>
18   </thead>
19
20   <tbody>
21    [%- FOREACH account = BANKACCOUNTS %]
22     <tr class="listrow" id="account_id_[% account.id %]">
23      <td align="center" class="dragdrop"><img src="image/updown.png" alt="[ LxERP.t8('reorder item') %]"></td>
24      <td><a href="[% SELF.url_for(action='edit', id=account.id) %]">[% HTML.escape(account.name) %]</a></td>
25      <td>[% HTML.escape(account.iban) %]</a></td>
26      <td>[% HTML.escape(account.bank) %]</a></td>
27      <td>[% HTML.escape(account.bank_code) %]</a></td>
28      <td>[% HTML.escape(account.bic) %]</a></td>
29      <td>[% HTML.escape(account.reconciliation_starting_date.to_kivitendo) %]</a></td>
30      <td align="right">[% HTML.escape(account.reconciliation_starting_balance_as_number) %]</a></td>
31     </tr>
32    [%- END %]
33   </tbody>
34  </table>
35 </p>
36
37 <hr height="3">
38
39 [% L.sortable_element('#bankaccount_list tbody', url=SELF.url_for(action='reorder'), with='account_id') %]
40
41 <p>
42  <a href="[% SELF.url_for(action='new') %]">[%- 'Add' | $T8 %]</a>
43 </p>