Exchangerate: Bei Verkaufsrechnungen Wechselkurs richtig anzeigen
authorG. Richardson <information@lx-office-hosting.de>
Tue, 17 May 2011 18:44:27 +0000 (20:44 +0200)
committerG. Richardson <information@lx-office-hosting.de>
Tue, 7 Jun 2011 11:44:34 +0000 (13:44 +0200)
war fehlerhaft, Wert war immer 0

templates/webpages/is/_payments.html

index 2809c38..73bd54f 100644 (file)
@@ -45,7 +45,7 @@
   [% SET exchangerate = 'exchangerate_' _ i %]
   [% IF forex %]
         <input type="hidden" name="exchangerate_[% i %]" value="[% LxERP.format_amount($exchangerate, 2) %]">
-        [% LxERP.format_amount(exchangerate, 2) %]
+        [% LxERP.format_amount($forex, 2) %]
   [% ELSE %]
         <input name="exchangerate_[% i %]" size="10" value="[% LxERP.format_amount($exchangerate, 2, 1) %]">
   [% END %]