X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Fdelivery_plan%2F_filter.html;h=87a94183cfe340fdb84fbac4d8986baafc5e8ff3;hb=e3dfdb7a78f6e0bc8ac1075fedc36f8247c6fd92;hp=7a06557567e2c164852b19a114b5e59f2b3a66ff;hpb=28633ebf9fdef86d9756b5a04c222421cc1a5cd6;p=kivitendo-erp.git
diff --git a/templates/webpages/delivery_plan/_filter.html b/templates/webpages/delivery_plan/_filter.html
index 7a0655756..87a94183c 100644
--- a/templates/webpages/delivery_plan/_filter.html
+++ b/templates/webpages/delivery_plan/_filter.html
@@ -78,30 +78,32 @@
style => 'width: 200px') %]
+ [%- IF SELF.all_departments.size %]
+
+ [% 'Department' | $T8 %] |
+
+ [% L.select_tag('filter.order.department_id', SELF.all_departments, default=filter.order.department_id, title_key='description', with_empty=1, style='width:200px') %]
+ |
+
+ [%- END %]
[% 'Type' | $T8 %] |
- [% L.checkbox_tag('filter.part.type[]', checked=filter.part.type_.part, value='part', label=LxERP.t8('Part')) %]
- [% L.checkbox_tag('filter.part.type[]', checked=filter.part.type_.service, value='service', label=LxERP.t8('Service')) %]
- [% L.checkbox_tag('filter.part.type[]', checked=filter.part.type_.assembly, value='assembly', label=LxERP.t8('Assembly')) %]
- |
-
-
- [% 'Query Type' | $T8 %] |
-
- [% L.checkbox_tag('use_linked_items', checked=use_linked_items, value='1', label=LxERP.t8('Use linked items')) %]
+ [% L.checkbox_tag('filter.part.part_type[]', checked=filter.part.part_type_.part, value='part', label=LxERP.t8('Part')) %]
+ [% L.checkbox_tag('filter.part.part_type[]', checked=filter.part.part_type_.service, value='service', label=LxERP.t8('Service')) %]
+ [% L.checkbox_tag('filter.part.part_type[]', checked=filter.part.part_type_.assembly, value='assembly', label=LxERP.t8('Assembly')) %]
+ [%- IF INSTANCE_CONF.get_feature_experimental_assortment %]
+ [% L.checkbox_tag('filter.part.part_type[]', checked=filter.part.part_type_.assortment, value='assortment', label=LxERP.t8('Assortment')) %]
+ [% END %]
|
-[% L.hidden_tag('action', 'DeliveryPlan/dispatch') %]
[% L.hidden_tag('sort_by', FORM.sort_by) %]
[% L.hidden_tag('sort_dir', FORM.sort_dir) %]
[% L.hidden_tag('page', FORM.page) %]
[% L.hidden_tag('vc', SELF.vc) %]
[% L.hidden_tag('mode', SELF.mode) %]
-[% L.input_tag('action_list', LxERP.t8('Continue'), type = 'submit', class='submit')%]
-
[% L.button_tag('$("#filter_form").resetForm()', LxERP.t8('Reset')) %]