projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ActionBar: Verwendung bei Preisregeln
[kivitendo-erp.git]
/
templates
/
webpages
/
delivery_plan
/
_filter.html
diff --git
a/templates/webpages/delivery_plan/_filter.html
b/templates/webpages/delivery_plan/_filter.html
index
e7e1199
..
7a06557
100644
(file)
--- a/
templates/webpages/delivery_plan/_filter.html
+++ b/
templates/webpages/delivery_plan/_filter.html
@@
-2,7
+2,7
@@
[%- USE L %]
[%- USE LxERP %]
[%- USE HTML %]
[%- USE L %]
[%- USE LxERP %]
[%- USE HTML %]
-<form action='controller.pl' method='post'>
+<form action='controller.pl' method='post'
id='filter_form'
>
<div class='filter_toggle'>
<a href='#' onClick='javascript:$(".filter_toggle").toggle()'>[% 'Show Filter' | $T8 %]</a>
[% SELF.filter_summary | html %]
<div class='filter_toggle'>
<a href='#' onClick='javascript:$(".filter_toggle").toggle()'>[% 'Show Filter' | $T8 %]</a>
[% SELF.filter_summary | html %]
@@
-86,6
+86,12
@@
[% L.checkbox_tag('filter.part.type[]', checked=filter.part.type_.assembly, value='assembly', label=LxERP.t8('Assembly')) %]
</td>
</tr>
[% L.checkbox_tag('filter.part.type[]', checked=filter.part.type_.assembly, value='assembly', label=LxERP.t8('Assembly')) %]
</td>
</tr>
+ <tr>
+ <th align="right">[% 'Query Type' | $T8 %]</th>
+ <td>
+ [% L.checkbox_tag('use_linked_items', checked=use_linked_items, value='1', label=LxERP.t8('Use linked items')) %]
+ </td>
+ </tr>
</table>
[% L.hidden_tag('action', 'DeliveryPlan/dispatch') %]
</table>
[% L.hidden_tag('action', 'DeliveryPlan/dispatch') %]
@@
-96,9
+102,7
@@
[% L.hidden_tag('mode', SELF.mode) %]
[% L.input_tag('action_list', LxERP.t8('Continue'), type = 'submit', class='submit')%]
[% L.hidden_tag('mode', SELF.mode) %]
[% L.input_tag('action_list', LxERP.t8('Continue'), type = 'submit', class='submit')%]
-
-<a href='#' onClick='javascript:$("#filter_table input").val("");$("#filter_table input[type=checkbox]").prop("checked", 0);$("#filter_table select").prop("selectedIndex", 0);'>[% 'Reset' | $T8 %]</a>
-
+[% L.button_tag('$("#filter_form").resetForm()', LxERP.t8('Reset')) %]
</div>
</form>
</div>
</form>