Hello,
I used this addon under PHP 5.6 without any issue, and after moving to PHP 7.2 its not working well,
there is error in the log file
PHP Warning: Division by zero in /home/admin/public_html/kirje1/includes/classes/sales_report2.php on line 175
and here is the line s from 167 - 175
// execute the query
$cnt = 0;
$itemTot = 0;
$sumTot = 0;
while ($resp[$cnt] = tep_db_fetch_array($rqItems)) {
// to avoid rounding differences round for every quantum
// multiply with the number of items afterwords.
$price = $resp[$cnt]['psum'] / $resp[$cnt]['pquant'];
and the issue that if there is sales and returns for some product like sold one and return one so it will be zero sales . but it show on the report as nan€
any one have same issue?
Joe