X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Famcvar%2Frender_inputs.html;h=a2f39ac627d4d83d33f4087f91b116f4cd77ead8;hb=9a34a2d20cd2783183580e95a6dc0402b5d84f36;hp=f4f1c63c72a4215975a58f28a0c53db057eadd3a;hpb=88470b76cfd2565dd51573918609f41dac6f8d06;p=kivitendo-erp.git
diff --git a/templates/webpages/amcvar/render_inputs.html b/templates/webpages/amcvar/render_inputs.html
index f4f1c63c7..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,13 +25,19 @@
[%- 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' %]