Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / templates / webpages / shop_part / _filter.html
1 [%- USE T8 %]
2 [%- USE L %]
3 [%- USE LxERP %]
4 [%- USE HTML %]
5 <form action='controller.pl' metdod='post' id="shop_part_filter">
6   [% L.hidden_tag('filter.shop.obsolete', 0) %]
7  <table id='filter_table'>
8     <tr>
9      <td>[% 'Shop' | $T8 %]</td>
10      <td>[% L.select_tag('filter.shop_id:eq_ignore_empty', SELF.shops, value_key = 'value', title_key = 'title', default=0) %]</td>
11     </tr>
12     <tr>
13      <td>[% 'Part marked as "Shop part"' | $T8 %]
14      <td>[% L.yes_no_tag('filter.part.shop', FORM.filter.part.shop, default='1', with_empty=1, empty_title='---') %]</td>
15     </tr>
16  </table>
17
18  <p>
19   <a href='#' onClick='javascript:$("#filter_table input").val("");$("#filter_table input[type=checkbox]").prop("checked", 0);'>[% 'Reset' | $T8 %]</a>
20   <br>
21  </p>
22  <p>
23    [% L.hidden_tag('action', 'ShopPart/dispatch') %]
24    [% L.submit_tag('action_list_articles',LxERP.t8('renew')) %]
25  </p>
26 </form>