From: Moritz Bunkus Date: Tue, 25 Nov 2014 12:52:01 +0000 (+0100) Subject: common/render_cvar_input.html: richtige Picker-Methoden für customer/vendor/part X-Git-Tag: release-3.2.0beta~226^2~4 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=5bf0359039cb7d095a5375f992248528237682a6;p=kivitendo-erp.git common/render_cvar_input.html: richtige Picker-Methoden für customer/vendor/part --- diff --git a/templates/webpages/common/render_cvar_input.html b/templates/webpages/common/render_cvar_input.html index 836db1df7..c7072d455 100644 --- a/templates/webpages/common/render_cvar_input.html +++ b/templates/webpages/common/render_cvar_input.html @@ -20,11 +20,11 @@ [%- ELSIF ( var.config.type == 'timestamp' ) %] [% L.input_tag(var_name, var.value) %] [%- ELSIF ( var.config.type == 'customer' ) %] - [% L.customer_picker(var_name, var.value) %] + [% L.customer_vendor_picker(var_name, var.value, type='customer') %] [%- ELSIF ( var.config.type == 'vendor' ) %] - [% L.vendor_selector(var_name, var.value) %] + [% L.customer_vendor_picker(var_name, var.value, type='vendor') %] [%- ELSIF ( var.config.type == 'part' ) %] - [% L.part_selector(var_name, var.value) %] + [% L.part_picker(var_name, var.value) %] [%- ELSIF ( var.config.type == 'select' ) %] [% L.select_tag(var_name, var.config.processed_options, default = var.value) %] [%- ELSIF ( var.config.type == 'number' ) %]