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=2f195885e3898ab0b5d9cf9c4b2792dde1bc03ac;hpb=01955b9c0259864cb05b494d0f6cb0c396ce16a0;p=kivitendo-erp.git
diff --git a/templates/webpages/delivery_plan/_filter.html b/templates/webpages/delivery_plan/_filter.html
index 2f195885e..87a94183c 100644
--- a/templates/webpages/delivery_plan/_filter.html
+++ b/templates/webpages/delivery_plan/_filter.html
@@ -78,23 +78,25 @@
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')) %]
- [%- IF INSTANCE_CONF.get_feature_experimental %]
+ [%- 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 %]
|
-
- [% 'Query Type' | $T8 %] |
-
- [% L.checkbox_tag('use_linked_items', checked=use_linked_items, value='1', label=LxERP.t8('Use linked items')) %]
- |
-
[% L.hidden_tag('sort_by', FORM.sort_by) %]