OK,
I seem to have solved the tax rounding problem (but there are still problems with the calculation of the tax allowing for coupons and freight?? More on that later, I hope.)
In the template \admin\stats_sales_report.php at line 592 you will find:
Code:
require(DIR_WS_CLASSES . 'currencies.php');
$currencies = new currencies();
Move those two lines to the top of the page (c line 33) after
require('includes/application_top.php');
so it reads:
Code:
require('includes/application_top.php');
require(DIR_WS_CLASSES . 'currencies.php');
$currencies = new currencies();
The problem was that the $currencies variable was not being declared until AFTER the tax was being calculated so it didnt know how many decimal places to round to and therefore rounded it to 0 decimals instead of 2.
Now.... what is going on with the actual calculations???? Stay tuned.
Murray