projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Verkaufsbericht - Abteilung korrekt behandeln
[kivitendo-erp.git]
/
templates
/
webpages
/
amcvar
/
render_inputs_block.html
diff --git
a/templates/webpages/amcvar/render_inputs_block.html
b/templates/webpages/amcvar/render_inputs_block.html
index
1117c1f
..
8f0b20f
100644
(file)
--- a/
templates/webpages/amcvar/render_inputs_block.html
+++ b/
templates/webpages/amcvar/render_inputs_block.html
@@
-10,9
+10,10
@@
SET render_cvar_tag_options.no_id = 1;
END;
%]
SET render_cvar_tag_options.no_id = 1;
END;
%]
-[%- IF cvar.hide_non_editable && !cvar.var.flag_editable %]
-[%- L.hidden_tag(cvar_tag_name, cvar.var.value, render_cvar_tag_options) %]
-[%- ELSIF !cvar.valid %]
+
+[%- IF (!cvar.hide_non_editable || cvar.var.flag_editable) && !cvar.partsgroup_filtered %]
+
+[%- IF !cvar.valid %]
[%- IF show_disabled_message %]
<i>[% 'Element disabled' | $T8 %]</i>
[%- END %]
[%- IF show_disabled_message %]
<i>[% 'Element disabled' | $T8 %]</i>
[%- END %]
@@
-54,13
+55,15
@@
</select>
[%- ELSIF cvar.var.type == 'customer' %]
</select>
[%- ELSIF cvar.var.type == 'customer' %]
-[%- L.customer_picker(cvar_tag_name, cvar.value, render_cvar_tag_options) %]
+[%- render_cvar_tag_options.type = 'customer' %]
+[%- L.customer_vendor_picker(cvar_tag_name, cvar.value, render_cvar_tag_options) %]
[%- ELSIF cvar.var.type == 'vendor' %]
[%- ELSIF cvar.var.type == 'vendor' %]
-[% L.vendor_selector(cvar_tag_name, cvar.value, render_cvar_tag_options) %]
+[%- render_cvar_tag_options.type = 'vendor' %]
+[%- L.customer_vendor_picker(cvar_tag_name, cvar.value, render_cvar_tag_options) %]
[%- ELSIF cvar.var.type == 'part' %]
[%- ELSIF cvar.var.type == 'part' %]
-[% L.part_
selecto
r(cvar_tag_name, cvar.value, render_cvar_tag_options) %]
+[% L.part_
picke
r(cvar_tag_name, cvar.value, render_cvar_tag_options) %]
[%- ELSIF cvar.var.type == 'number' %]
[%- L.input_tag(cvar_tag_name, LxERP.format_amount(cvar.value, -2), render_cvar_tag_options) %]
[%- ELSIF cvar.var.type == 'number' %]
[%- L.input_tag(cvar_tag_name, LxERP.format_amount(cvar.value, -2), render_cvar_tag_options) %]
@@
-69,4
+72,7
@@
[% render_cvar_tag_options.maxlength=cvar.var.maxlength IF cvar.var.maxlength;
L.input_tag(cvar_tag_name, cvar.value, render_cvar_tag_options) %]
[%- END %]
[% render_cvar_tag_options.maxlength=cvar.var.maxlength IF cvar.var.maxlength;
L.input_tag(cvar_tag_name, cvar.value, render_cvar_tag_options) %]
[%- END %]
+
+[%- END %]
+
[%- END %]
[%- END %]