1 [%- USE HTML -%][%- USE LxERP -%][%- USE L -%][%- USE T8 -%][%- INCLUDE 'common/flash.html' %]
 
   6  <table width="100%" id="bankaccount_list">
 
   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>
 
  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>
 
  39 [% L.sortable_element('#bankaccount_list tbody', url=SELF.url_for(action='reorder'), with='account_id') %]
 
  42  <a href="[% SELF.url_for(action='new') %]">[%- 'Add' | $T8 %]</a>