<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Exchange Rates - date not refreshed on update]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=9219</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=9219&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Exchange Rates - date not refreshed on update.]]></description>
		<lastBuildDate>Mon, 08 Mar 2021 22:22:45 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Exchange Rates - date not refreshed on update]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=39242#p39242</link>
			<description><![CDATA[<p>@apmuthu: I don&#039;t remember but it was probably ECB. I don&#039;t think it matters as this code only depends on &#039;get_rate&#039; being set (line 136).</p>]]></description>
			<author><![CDATA[null@example.com (PaulShipley)]]></author>
			<pubDate>Mon, 08 Mar 2021 22:22:45 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=39242#p39242</guid>
		</item>
		<item>
			<title><![CDATA[Re: Exchange Rates - date not refreshed on update]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=39234#p39234</link>
			<description><![CDATA[<p>@PaulShipley: Which exchange rate provider was chosen?</p><p>@joe: ?</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Mon, 08 Mar 2021 07:28:54 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=39234#p39234</guid>
		</item>
		<item>
			<title><![CDATA[Exchange Rates - date not refreshed on update]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=39221#p39221</link>
			<description><![CDATA[<p>The date on the screen is not being refreshed when the exchange rates are updated. The data is correct in the database.</p><p>In gl/manage/exchange_rates.php, on line 132 the &#039;date&#039; is updated to &#039;Today()&#039;, yet only the &#039;BuyRate&#039; is refreshed on the screen (line 140).</p><p>I believe that this patch fixes the issue.<br /></p><div class="codebox"><pre><code>@@ -137,6 +137,8 @@ function display_rate_edit()
     {
         $_POST[&#039;BuyRate&#039;] = 
             maxprec_format(retrieve_exrate($_POST[&#039;curr_abrev&#039;], $_POST[&#039;date_&#039;]));
+
+        $Ajax-&gt;activate(&#039;date_&#039;);
         $Ajax-&gt;activate(&#039;BuyRate&#039;);
     }
     amount_row(_(&quot;Exchange Rate:&quot;), &#039;BuyRate&#039;, null, &#039;&#039;,</code></pre></div><p>Hope this helps</p>]]></description>
			<author><![CDATA[null@example.com (PaulShipley)]]></author>
			<pubDate>Sun, 07 Mar 2021 00:14:41 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=39221#p39221</guid>
		</item>
	</channel>
</rss>
