The "Taxes Collected" column is a list of popup links and for some reason this was broken. I have only changed a few lines to repair this.
Around line 518 you will see
// make this a link to the detail popup if nonzero
I changed the lines
echo "<a href="#" onClick="window.open('" . $_SERVER['PHP_SELF'] . "?&show=ot_tax&year=" . $sales['row_year'] . "&month=" . $sales['i_month'];br / if ($sel_month0) echo "&day=" . $sales['row_day'];br / if ($status'') echo "&status=" . $status;br / echo "','detail',config='height=200,width=400,scrollbar s=1, resizable=1')" title="Show detail">";
to
if ($sel_month0) $taxpopup = "&day=" . $sales['row_day'];
if ($status'') $taxpopup .= "&status=" . $status;
echo "<a href="#" onClick="window.open('" . tep_href_link(basename($PHP_SELF), "&show=ot_tax&year=" . $sales['row_year'] . "&month=" . $sales['i_month'] . $taxpopup); br / echo "','detail',config='height=200,width=400,scrollbar s=1, resizable=1')" title="Show detail">";
Not much of a change but it makes it work.
This file is also the latest one listed here with my change.
/admin/stats_monthly_sales.php
More...




LinkBack URL
About LinkBacks









Bookmarks