Auftrags-Controller: Feld für Wechselkurs CSS-Klasse numeric/reformat_number
authorBernd Bleßmann <bernd@kivitendo-premium.de>
Fri, 5 Jun 2020 12:28:41 +0000 (14:28 +0200)
committerBernd Bleßmann <bernd@kivitendo-premium.de>
Mon, 27 Jul 2020 13:26:42 +0000 (15:26 +0200)
Damit kann in dem Feld auch "gerechnet" werden.

templates/webpages/order/tabs/basic_data.html

index 21377fe..383f075 100644 (file)
@@ -66,9 +66,9 @@
               [% END %]
               </span>
               [% IF currency_id==INSTANCE_CONF.get_currency_id || SELF.order.exchangerate %]
-                [% L.input_tag('order.exchangerate_as_null_number', '', size="15", style='display:none', disabled=1) %]
+                [% 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") %]
+                [% L.input_tag('order.exchangerate_as_null_number', 0, size="15", class="reformat_number numeric") %]
               [% END %]
               [% INSTANCE_CONF.default_currency %]
               [% L.hidden_tag('old_currency_id', currency_id) %]