X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Famcvar%2Frender_inputs.html;h=a2f39ac627d4d83d33f4087f91b116f4cd77ead8;hb=18a2ca336c2e4c87bd1d6fe55bc9d83e177584a5;hp=335a77c9f1acedb79f1f1e8cd5fc00b00b8773bf;hpb=2d3f862b7af94f31860dd264eef7c1bc7de7eae2;p=kivitendo-erp.git
diff --git a/templates/webpages/amcvar/render_inputs.html b/templates/webpages/amcvar/render_inputs.html
index 335a77c9f..a2f39ac62 100644
--- a/templates/webpages/amcvar/render_inputs.html
+++ b/templates/webpages/amcvar/render_inputs.html
@@ -1,9 +1,10 @@
[%- USE T8 %]
-[% USE HTML %]
+[%- USE HTML %]
+[%- USE L %]
[%- 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 %]
@@ -18,26 +19,25 @@
[%- ELSIF var.type == 'date' %]
-
-
-
-
+[% L.date_tag(var_name, var.value) %]
[%- ELSIF var.type == 'timestamp' %]
+[%- ELSIF var.type == 'customer' %]
+[% 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' %]