Topic: Exchange Rates - date not refreshed on update
The date on the screen is not being refreshed when the exchange rates are updated. The data is correct in the database.
In gl/manage/exchange_rates.php, on line 132 the 'date' is updated to 'Today()', yet only the 'BuyRate' is refreshed on the screen (line 140).
I believe that this patch fixes the issue.
@@ -137,6 +137,8 @@ function display_rate_edit()
{
$_POST['BuyRate'] =
maxprec_format(retrieve_exrate($_POST['curr_abrev'], $_POST['date_']));
+
+ $Ajax->activate('date_');
$Ajax->activate('BuyRate');
}
amount_row(_("Exchange Rate:"), 'BuyRate', null, '',
Hope this helps