X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=templates%2Fwebpages%2Fdelivery_plan%2F_filter.html;h=55db12444dba038bdff9467377286fef9b7cdffe;hb=187c4ee192da9281f42800e6ac8ae08f23d9a9d6;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..55db12444 100644 --- a/templates/webpages/delivery_plan/_filter.html +++ b/templates/webpages/delivery_plan/_filter.html @@ -78,13 +78,21 @@ 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 %]