From: Bernd Bleßmann Date: Fri, 5 Jun 2020 15:08:45 +0000 (+0200) Subject: Auftrags-Controller: Wechselkursfeld leer lassen, wenn Kurs nicht bekannt X-Git-Tag: release-3.5.6.1~98 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=e70a89d293b3296da1c106fa9c1ee203b4956ece;p=kivitendo-erp.git Auftrags-Controller: Wechselkursfeld leer lassen, wenn Kurs nicht bekannt --- diff --git a/js/kivi.Order.js b/js/kivi.Order.js index 74bd343e4..907e15bd3 100644 --- a/js/kivi.Order.js +++ b/js/kivi.Order.js @@ -201,7 +201,7 @@ namespace('kivi.Order', function(ns) { } else { rate_text.text(''); rate_input.prop('disabled', false); - rate_input.show().val(0); + rate_input.show().val(''); } $('#exchangerate_settings').show(); } else { diff --git a/templates/webpages/order/tabs/basic_data.html b/templates/webpages/order/tabs/basic_data.html index 383f07554..94728b77c 100644 --- a/templates/webpages/order/tabs/basic_data.html +++ b/templates/webpages/order/tabs/basic_data.html @@ -68,7 +68,7 @@ [% IF currency_id==INSTANCE_CONF.get_currency_id || SELF.order.exchangerate %] [% L.input_tag('order.exchangerate_as_null_number', '', size="15", class="reformat_number numeric", style='display:none', disabled=1) %] [% ELSE %] - [% L.input_tag('order.exchangerate_as_null_number', 0, size="15", class="reformat_number numeric") %] + [% L.input_tag('order.exchangerate_as_null_number', '', size="15", class="reformat_number numeric") %] [% END %] [% INSTANCE_CONF.default_currency %] [% L.hidden_tag('old_currency_id', currency_id) %]