X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Famcvar%2Frender_inputs.html;h=a2f39ac627d4d83d33f4087f91b116f4cd77ead8;hb=18a2ca336c2e4c87bd1d6fe55bc9d83e177584a5;hp=a69101bf00c0cb069881102a0b8d2f9c870fdf9c;hpb=b21a00cf4c891da7bc99d7010a0584decd164906;p=kivitendo-erp.git
diff --git a/templates/webpages/amcvar/render_inputs.html b/templates/webpages/amcvar/render_inputs.html
index a69101bf0..a2f39ac62 100644
--- a/templates/webpages/amcvar/render_inputs.html
+++ b/templates/webpages/amcvar/render_inputs.html
@@ -4,7 +4,7 @@
[%- SET var_name = HTML.escape(name_prefix) _ "cvar_" _ HTML.escape(var.name) _ HTML.escape(name_postfix) -%]
-[%- IF hide_non_editable && !var.flag_editable %]
+[%- IF (hide_non_editable && !var.flag_editable) || var.partsgroup_filtered %]
[%- ELSIF !var.valid %]
@@ -25,7 +25,13 @@
[%- ELSIF var.type == 'customer' %]
-[% L.customer_picker(var_name, var.value) %]
+[% L.customer_vendor_picker(var_name, var.value, type='customer') %]
+
+[%- ELSIF var.type == 'vendor' %]
+[% L.customer_vendor_picker(var_name, var.value, type='vendor') %]
+
+[%- ELSIF var.type == 'part' %]
+[% L.part_picker(var_name, var.value) %]
[%- ELSIF var.type == 'select' %]