25b32b395464d39c449a709cec65e1a51b8052bc
[kivitendo-erp.git] / templates / webpages / bank_transactions / create_invoice.html
1 [%- USE HTML %][%- USE L %][%- USE LxERP %][%- USE P -%]
2
3   <b>Transaction</b>
4   <table>
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>
13    </tr>
14
15    <tr class="listrow">
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>
23    </tr>
24   </table>
25
26
27 <br>
28 [% LxERP.t8('Vendor filter for AP transaction templates') %]:
29
30 <form method="post" action="javascript:kivi.BankTransaction.filter_templates()">
31  [% L.hidden_tag("bt_id",               SELF.transaction.id) %]
32  [% L.hidden_tag("filter.bank_account", FORM.filter.bank_account) %]
33  [% L.hidden_tag("filter.fromdate",     FORM.filter.fromdate) %]
34  [% L.hidden_tag("filter.todate",      FORM.filter.todate) %]
35  <table>
36   <tr>
37    <th align="right">[%- LxERP.t8("Vendor") %]</th>
38    <td>[% P.input_tag("vendor", vendor_name, class="initial_focus", style="width: 250px") %]</td>
39   </tr>
40  </table>
41 </form>
42
43   <p>
44    [% P.button_tag("kivi.BankTransaction.filter_templates()", LxERP.t8("Filter vendors")) %]
45    <a href="#" onclick="$('#create_invoice_window').dialog('close');">[% LxERP.t8("Cancel") %]</a>
46   </p>
47
48   <hr>
49 <div id="templates">
50  [% PROCESS "bank_transactions/_template_list.html" %]
51 </div>