Exchange rate doesn't update table when adding new or deleting rate
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Fri, 22 Jan 2010 10:12:29 +0000 (10:12 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Fri, 22 Jan 2010 10:12:29 +0000 (10:12 +0000)
CHANGELOG.txt
gl/manage/exchange_rates.php

index cbb0df69a4eb3e748d39765bc184303c5ebaced6..5f3b242b983f274d4109d08fc4f864466e8a7aed 100644 (file)
@@ -20,7 +20,9 @@ Legend:
 $ -> Affected files
 
 22-Jan-2010 Tom Hallman/Joe Hunt
-! Small adjustments to Bank Statements and GL Transactions Reports
+# Exchange rate doesn't update table when adding new or deleting rate
+$ /gl/manage/exchange_rates.php
+! Small adjustments to Bank Statement and GL Transactions Reports
 $ /reporting/rep601.php
   /reporting/rep704.php
 ! Layout fix for Report Selectors in when running in Windows OS.
index a22b71526814cb7dbb101ec1d4eba07c1172df1e..9621085eb98d57d1963075747f5b8f6e804a2b95 100644 (file)
@@ -67,6 +67,7 @@ function handle_submit()
        }
 
        $selected_id = '';
+       clear_data();
 }
 
 //---------------------------------------------------------------------------------------------
@@ -79,6 +80,7 @@ function handle_delete()
                return;
        delete_exchange_rate($selected_id);
        $selected_id = '';
+       clear_data();
 }
 
 //---------------------------------------------------------------------------------------------