Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / templates / webpages / bank_transactions / list.html
1 [%- USE HTML -%][%- USE LxERP -%][%- USE L -%][%- USE T8 -%]
2
3 <h1>[% title %]</h1>
4
5 [%- INCLUDE 'common/flash.html' %]
6
7 [% IF SELF.problems.size %]
8  [% INCLUDE 'bank_transactions/_problems.html' %]
9 [% END %]
10
11 <p>[% HTML.escape(bank_account.name) %] [% HTML.escape(bank_account.iban) %], [% 'Bank code' | $T8 %] [% HTML.escape(bank_account.bank_code) %], [% 'Bank' | $T8 %] [% HTML.escape(bank_account.bank) %]</p>
12 <p>
13 [% IF FORM.filter.fromdate %] [% 'From' | $T8 %] [% FORM.filter.fromdate %] [% END %]
14 [% IF FORM.filter.todate %]   [% 'to (date)' | $T8 %] [% FORM.filter.todate %][% END %]
15 [% L.hidden_tag("filter.bank_account", FORM.filter.bank_account) %]
16 [% L.hidden_tag("filter.fromdate",     FORM.filter.fromdate) %]
17 [% L.hidden_tag("filter.todate",       FORM.filter.todate) %]
18 </p>
19
20 <div id="bt_tabs" class="tabwidget">
21   <ul>
22     <li><a href="#all">[% 'All transactions' | $T8 %]</a></li>
23     <li><a href="#automatic">[% 'Proposals' | $T8 %]</a></li>
24   </ul>
25
26   <div id="all">[% PROCESS "bank_transactions/tabs/all.html" %]</div>
27   <div id="automatic">[% PROCESS "bank_transactions/tabs/automatic.html" %]</div>
28 </div>
29
30 <div id="set_all_sources_memos_dialog" class="hidden">
31  <table>
32   <tr>
33    <th>[% LxERP.t8("Source") %]:</th>
34    <td>[% L.input_tag("set_all_sources", "") %]</td>
35   </tr>
36
37   <tr>
38    <th>[% LxERP.t8("Memo") %]:</th>
39    <td>[% L.input_tag("set_all_memos", "") %]</td>
40   </tr>
41  </table>
42
43  <p>
44   [% L.button_tag("kivi.BankTransaction.set_all_sources_memos()", LxERP.t8("Set fields")) %]
45   <a href="#" onclick="$('#set_all_sources_memos_dialog').dialog('close');">[%- LxERP.t8("Cancel") %]</a>
46  </p>
47 </div>
48
49 <script type="text/javascript">
50 <!--
51 $(function() {
52   kivi.BankTransaction.init_list([% ui_tab %]);
53 });
54 //-->
55 </script>