Layout bug in exchange rate display
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Thu, 7 May 2009 11:58:13 +0000 (11:58 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Thu, 7 May 2009 11:58:13 +0000 (11:58 +0000)
CHANGELOG.txt
includes/ui/ui_view.inc

index 2d31fe2f7232e31c65d8577741e92d312ffbdfc3..ac6f530bdf6c37befd01002791f5b698b8cf9fe9 100644 (file)
@@ -19,6 +19,10 @@ Legend:
 ! -> Note
 $ -> Affected files
 
+07-May-2009 Joe Hunt
+# Layout bug in exchange rate display
+$ /includes/ui/ui_view.inc
+
 05-May-2009 Janusz Dobrowolski
 # Fixed check if code for new sales kit is not used.
 $ /inventory/manage/sales_kits.php
index 1e43fdf9738e9b1b4b6ee937a851a5df0c64d618..a1fb09ff2c4d3b850041dc5a1676f2fefc288e2d 100644 (file)
@@ -317,7 +317,7 @@ function exchange_rate_display($from_currency, $to_currency, $date_, $edit_rate=
                if ($edit_rate)
                        text_row(_("Exchange Rate:"), '_ex_rate', $rate, 8, 8, null, "", " $from_currency = 1 $to_currency"); 
                else
-               label_row(_("Exchange Rate:"),"<span id='_ex_rate'>$rate</span> $from_currency = 1 $to_currency" );
+               label_row(_("Exchange Rate:"),"<span style='vertical-align:top;' id='_ex_rate'>$rate</span> $from_currency = 1 $to_currency" );
                $Ajax->addUpdate('_ex_rate','_ex_rate', $rate);
        }
 }