diff --git a/modules/statsforecast/statsforecast.php b/modules/statsforecast/statsforecast.php
index e51dd0fcd..512ee4473 100644
--- a/modules/statsforecast/statsforecast.php
+++ b/modules/statsforecast/statsforecast.php
@@ -375,7 +375,7 @@ class StatsForecast extends Module
| '.$payment['module'].' |
'.(int)$payment['nb'].' '.($ca['ventil']['nb'] ? number_format((100 * $payment['nb'] / $ca['ventil']['nb']), 1, '.', ' ') : '0').' % |
- '.Tools::displayPrice($payment['total'], $currency).' '.($ca['ventil']['total'] ? number_format((100 * $payment['total'] / $ca['ventil']['total']), 1, '.', ' ') : '0').' % |
+ '.Tools::displayPrice($payment['total'], $currency).' '.((int)$ca['ventil']['total'] ? number_format((100 * $payment['total'] / $ca['ventil']['total']), 1, '.', ' ') : '0').' % |
'.Tools::displayPrice($payment['cart'], $currency).' |
';
$this->_html .= '
@@ -400,7 +400,7 @@ class StatsForecast extends Module
'.$catrow['orderQty'].' |
'.Tools::displayPrice($catrow['orderSum'], $currency).' |
'.number_format((100 * $catrow['orderQty'] / $this->t4), 1, '.', ' ').'% |
- '.($ca['ventil']['total'] ? number_format((100 * $catrow['orderSum'] / $ca['ventil']['total']), 1, '.', ' ') : '0').'% |
+ '.((int)$ca['ventil']['total'] ? number_format((100 * $catrow['orderSum'] / $ca['ventil']['total']), 1, '.', ' ') : '0').'% |
'.Tools::displayPrice($catrow['priveAvg'], $currency).' |
';
$this->_html .= '
@@ -417,7 +417,7 @@ class StatsForecast extends Module
| '.$ophone.' |
'.Tools::displayPrice($amount, $currency).' |
- '.($ca['ventil']['total'] ? number_format((100 * $amount / $ca['ventil']['total']), 1, '.', ' ').'%' : '-').' |
+ '.((int)$ca['ventil']['total'] ? number_format((100 * $amount / $ca['ventil']['total']), 1, '.', ' ').'%' : '-').' |
'.(($percent > 0 OR $percent == '∞') ? ' ' : ' ').' |
'.(($percent > 0 OR $percent == '∞') ? '+' : '').$percent.'% |
';
@@ -436,7 +436,7 @@ class StatsForecast extends Module
'.(int)($zone['nb']).' |
'.Tools::displayPrice($zone['total'], $currency).' |
'.($ca['ventil']['nb'] ? number_format((100 * $zone['nb'] / $ca['ventil']['nb']), 1, '.', ' ') : '0').'% |
- '.($ca['ventil']['total'] ? number_format((100 * $zone['total'] / $ca['ventil']['total']), 1, '.', ' ') : '0').'% |
+ '.((int)$ca['ventil']['total'] ? number_format((100 * $zone['total'] / $ca['ventil']['total']), 1, '.', ' ') : '0').'% |
';
$this->_html .= '
@@ -460,7 +460,7 @@ class StatsForecast extends Module
'.(int)($currencyRow['nb']).' |
'.Tools::displayPrice($currencyRow['total'], $currency).' |
'.($ca['ventil']['nb'] ? number_format((100 * $currencyRow['nb'] / $ca['ventil']['nb']), 1, '.', ' ') : '0').'% |
- '.($ca['ventil']['total'] ? number_format((100 * $currencyRow['total'] / $ca['ventil']['total']), 1, '.', ' ') : '0').'% |
+ '.((int)$ca['ventil']['total'] ? number_format((100 * $currencyRow['total'] / $ca['ventil']['total']), 1, '.', ' ') : '0').'% |
';
$this->_html .= '