1 [%- USE HTML %][%- USE L %][%- USE LxERP %][%- USE T8 %]
 
   5 <form method="post" action="javascript:kivi.BankTransaction.filter_invoices();" id="assign_invoice_window_form" data-bank-transaction-id="[% HTML.escape(SELF.transaction.id) %]">
 
   6   <b>[%- LxERP.t8("Bank transaction") %]:</b>
 
   8    <tr class="listheading">
 
   9     [% IF debug %]<td>[%- LxERP.t8("ID") %]:</td>[% END %]
 
  10     <td>[%- LxERP.t8("Transdate") %]:</td>
 
  11     <td>[%- LxERP.t8("Amount") %]:</td>
 
  12     <td>[%- LxERP.t8("Remote name") %]:</td>
 
  13     <td>[%- LxERP.t8("Purpose") %]:</td>
 
  14     <td>[%- LxERP.t8("Remote account number") %]:</td>
 
  15     <td>[%- LxERP.t8("Remote bank code") %]:</td>
 
  19     [% IF debug %]<td>[% SELF.transaction.id %]</td>[% END %]
 
  20     <td>[% SELF.transaction.transdate_as_date %]</td>
 
  21     <td>[% LxERP.format_amount(SELF.transaction.amount, 2) %]</td>
 
  22     <td>[% SELF.transaction.remote_name %]</td>
 
  23     <td>[% SELF.transaction.purpose %]</td>
 
  24     <td>[% SELF.transaction.remote_account_number %]</td>
 
  25     <td>[% SELF.transaction.remote_bank_code %]</td>
 
  29   <b>[%- LxERP.t8("Invoice filter") %]:</b>
 
  32     <th align="right">[%- LxERP.t8("Invoice number") %]</th>
 
  33     <td>[% L.input_tag('invnumber', '', style=style) %]</td>
 
  35     <th align="right">[%- LxERP.t8("Customer/Vendor Name") %]</th>
 
  36     <td>[% L.input_tag('vcname', '', style=style) %]</td>
 
  40     <th align="right">[%- LxERP.t8("Amount") %]</th>
 
  41     <td>[% L.input_tag('amount', '', style=style) %]</td>
 
  43     <th align="right">[%- LxERP.t8("Customer/Vendor Number") %]</th>
 
  44     <td>[% L.input_tag('vcnumber', '', style=style) %]</td>
 
  48     <th align="right">[%- LxERP.t8("Invdate from") %]</th>
 
  49     <td>[% L.date_tag('transdatefrom') %]</td>
 
  51     <th align="right">[%- LxERP.t8("to (date)") %]</th>
 
  52     <td>[% L.date_tag('transdateto') %]</td>
 
  57    [% L.submit_tag('', LxERP.t8("Search")) %]
 
  58    [% L.button_tag('kivi.BankTransaction.add_selected_invoices()', LxERP.t8("Add invoices"), id='add_selected_record_links_button') %]
 
  59    [% L.button_tag('$("#assign_invoice_window_form").resetForm()', LxERP.t8('Reset')) %]
 
  60    <a href="#" onclick="$('#assign_invoice_window').dialog('close');">[% LxERP.t8("Cancel") %]</a>
 
  65   <div id="record_list_filtered_list"></div>
 
  69 <script type="text/javascript">
 
  72   $('#invnumber').focus();