1 [%- USE HTML %][%- USE L %][%- USE LxERP %][%- USE P -%]
 
   5    <tr class="listheading">
 
   6     <td>[%- LxERP.t8("ID") %]:</td>
 
   7     <td>[%- LxERP.t8("Amount") %]:</td>
 
   8     <td>[%- LxERP.t8("Date") %]:</td>
 
   9     <td>[%- LxERP.t8("Remote name") %]:</td>
 
  10     <td>[%- LxERP.t8("Purpose") %]:</td>
 
  11     <td>[%- LxERP.t8("Remote bank code") %]:</td>
 
  12     <td>[%- LxERP.t8("Remote account number") %]:</td>
 
  16     <td>[% SELF.transaction.id %]</td>
 
  17     <td>[% LxERP.format_amount(SELF.transaction.amount, 2) %]</td>
 
  18     <td>[% SELF.transaction.valutadate_as_date %]</td>
 
  19     <td>[% SELF.transaction.remote_name %]</td>
 
  20     <td>[% SELF.transaction.purpose %]</td>
 
  21     <td>[% SELF.transaction.remote_bank_code %]</td>
 
  22     <td>[% SELF.transaction.remote_account_number %]</td>
 
  29 <form method="post" action="javascript:kivi.BankTransaction.filter_templates()" id="create_invoice_window_form">
 
  30  [% L.hidden_tag("bt_id",               SELF.transaction.id) %]
 
  31  [% L.hidden_tag("filter.bank_account", FORM.filter.bank_account) %]
 
  32  [% L.hidden_tag("filter.fromdate",     FORM.filter.fromdate) %]
 
  33  [% L.hidden_tag("filter.todate",      FORM.filter.todate) %]
 
  36    <th align="right">[%- LxERP.t8("Template Description") %]</th>
 
  37    <td>[% P.input_tag("template", template_name, style="width: 250px") %]</td>
 
  40    <th align="right">[%- LxERP.t8("Vendor") %]</th>
 
  41    <td>[% P.input_tag("vendor", vendor_name,  style="width: 250px") %]</td>
 
  44    <th align="right">[%- LxERP.t8("Reference") %]</th>
 
  45    <td>[% P.input_tag("reference", reference_name, style="width: 250px") %]</td>
 
  49    [% P.submit_tag('', LxERP.t8("Filter")) %]
 
  50    [% P.button_tag('$("#create_invoice_window_form").resetForm()', LxERP.t8('Reset')) %]
 
  51    <a href="#" onclick="$('#create_invoice_window').dialog('close');">[% LxERP.t8("Cancel") %]</a>
 
  56  [% PROCESS "bank_transactions/_template_list.html" %]
 
  59 <script type="text/javascript">
 
  62   $('#template').focus();