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=4e9161c32831b8e4f33bc3fcd8c892c0170df1c6;hpb=51a91d9aef3a13ba96f343e08b7ce30ae5eafa6d;p=kivitendo-erp.git
diff --git a/templates/webpages/delivery_plan/_filter.html b/templates/webpages/delivery_plan/_filter.html
index 4e9161c32..87a94183c 100644
--- a/templates/webpages/delivery_plan/_filter.html
+++ b/templates/webpages/delivery_plan/_filter.html
@@ -78,19 +78,23 @@
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.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')) %]
- [% L.checkbox_tag('filter.part.part_type[]', checked=filter.part.part_type_.assortment, value='assortment', label=LxERP.t8('Assortment')) %]
- |
-
-
- [% 'Query Type' | $T8 %] |
-
- [% L.checkbox_tag('use_linked_items', checked=use_linked_items, value='1', label=LxERP.t8('Use linked items')) %]
+ [%- 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 %]
|