Small fix in layout
authorJanusz Dobrowolski <janusz@frontaccounting.eu>
Mon, 23 Aug 2010 09:20:32 +0000 (09:20 +0000)
committerJanusz Dobrowolski <janusz@frontaccounting.eu>
Mon, 23 Aug 2010 09:20:32 +0000 (09:20 +0000)
gl/manage/exchange_rates.php

index 204c64f52202bf66a8ee2b2c878479b35a35cc3a..90ab428f37db35a37d4d6eb6403c8791804f975c 100644 (file)
@@ -119,7 +119,7 @@ function display_rate_edit()
                $myrow = get_exchange_rate($selected_id);
 
                $_POST['date_'] = sql2date($myrow["date_"]);
-               $_POST['BuyRate'] = exrate_format($myrow["rate_buy"]);
+               $_POST['BuyRate'] = maxprec_format($myrow["rate_buy"]);
 
                hidden('selected_id', $selected_id);
                hidden('date_', $_POST['date_']);
@@ -138,7 +138,7 @@ function display_rate_edit()
                        maxprec_format(retrieve_exrate($_POST['curr_abrev'], $_POST['date_']));
                $Ajax->activate('BuyRate');
        }
-       small_amount_row(_("Exchange Rate:"), 'BuyRate', null, '',
+       amount_row(_("Exchange Rate:"), 'BuyRate', null, '',
                submit('get_rate',_("Get"), false, _('Get current ECB rate') , true), 'max');
 
        end_table(1);