Bankerweiterung - Zwischenstand, erster Entwurf
[kivitendo-erp.git] / templates / webpages / bank_transactions / search.html
diff --git a/templates/webpages/bank_transactions/search.html b/templates/webpages/bank_transactions/search.html
new file mode 100644 (file)
index 0000000..adab511
--- /dev/null
@@ -0,0 +1,73 @@
+[%- USE T8 %]
+[%- USE HTML %]
+[%- USE L %]
+[%- USE LxERP %]
+
+[%- INCLUDE 'common/flash.html' %]
+
+ <form method="post" action="controller.pl">
+
+  <div class="listtop">[% 'Search bank transactions' | $T8 %]</div>
+
+  <p>
+   <table>
+<!--
+    <tr>
+     <th align="right">[% 'Valutadate from' | $T8 %]</th>
+     <td>[% L.date_tag('filter.valutadate:date::ge', filter.valutadate_date__ge) %]</td>
+    </tr>
+
+    <tr>
+     <th align="right">[% 'Valutadate to' | $T8 %]</th>
+     <td>[% L.date_tag('filter.valutadate:date::le', filter.valutadate_date__le) %]</td>
+    </tr>
+
+    <tr>
+     <th align="right">[% 'Remote name' | $T8 %]</th>
+     <td>[% L.input_tag('filter.remote_name:substr::ilike', filter.remote_name_substr__ilike, size=60, class='initial_focus') %]</td>
+    </tr>
+
+    <tr>
+     <th align="right">[% 'Remote account number' | $T8 %]</th>
+     <td>[% L.input_tag('filter.remote_account_number:substr::ilike', filter.remote_account_number_substr__ilike, size=60, class='initial_focus') %]</td>
+    </tr>
+
+    <tr>
+     <th align="right">[% 'Remote bank code' | $T8 %]</th>
+     <td>[% L.input_tag('filter.remote_bank_code:substr::ilike', filter.remote_bank_code_substr__ilike, size=60, class='initial_focus') %]</td>
+    </tr>
+
+    <tr>
+     <th align="right">[% 'Amount' | $T8 %]</th>
+     <td>[% L.input_tag('filter.amount:number', filter.amount_number, size = 20) %]</td>
+    </tr>
+
+    <tr>
+     <th align="right">[% 'Purpose' | $T8 %]</th>
+     <td>[% L.input_tag('filter.purpose:substr::ilike', filter.purpose_substr__ilike, size=60, class='initial_focus') %]</td>
+    </tr>
+    -->
+
+    <tr>
+     <th align="right">[% 'Bank account' | $T8 %]</th>
+     <td>[% L.select_tag('filter.bank_account', BANK_ACCOUNTS, default=bank_acount, title_sub=\label_sub, with_empty=0, style='width:450px') %]</td>
+    </tr>
+
+    <tr>
+     <th align="right">[% 'Transdate from' | $T8 %]</th>
+     <td>[% L.date_tag('filter.fromdate', filter.fromdate) %]</td>
+    </tr>
+
+    <tr>
+     <th align="right">[% 'to (date)' | $T8 %]</th>
+     <td>[% L.date_tag('filter.todate', filter.todate) %]</td>
+    </tr>
+   </table>
+  </p>
+
+  <hr size="3" noshade>
+
+  [% L.hidden_tag('action', 'BankTransaction/list') %]
+
+  <p>[% L.submit_tag('dummy', LxERP.t8('Continue')) %]</p>
+ </form>