X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=templates%2Fwebpages%2Famcvar%2Frender_inputs.html;h=880106a99b7fe4021fbd2434f6bbe26071bbfda8;hb=927ec7273b39dffbd1cb91062fed46c60d9be47f;hp=dc9c09fe8369e5fe9eaf22af5656056a090e714c;hpb=67079598f8f98a12e12a8acddc3afbf12bb58c5d;p=kivitendo-erp.git
diff --git a/templates/webpages/amcvar/render_inputs.html b/templates/webpages/amcvar/render_inputs.html
index dc9c09fe8..880106a99 100644
--- a/templates/webpages/amcvar/render_inputs.html
+++ b/templates/webpages/amcvar/render_inputs.html
@@ -1,10 +1,11 @@
[%- USE T8 %]
[%- USE HTML %]
[%- USE L %]
+[%- USE P %]
[%- 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 +26,13 @@
[%- ELSIF var.type == 'customer' %]
-[% L.customer_picker(var_name, var.value) %]
+[% P.customer_vendor.picker(var_name, var.value, type='customer') %]
[%- ELSIF var.type == 'vendor' %]
-[% L.vendor_selector(var_name, var.value) %]
+[% P.customer_vendor.picker(var_name, var.value, type='vendor') %]
[%- ELSIF var.type == 'part' %]
-[% L.part_selector(var_name, var.value) %]
+[% P.part.picker(var_name, var.value) %]
[%- ELSIF var.type == 'select' %]