update index.php

I propose to the maintainer a variation to code at line number 97 to show only the statuses enabled in the pie chart.
This commit is contained in:
Elimig 2017-10-23 13:48:45 +02:00 committed by GitHub
parent 53d2f29cdd
commit dbad8636ef

View File

@ -94,6 +94,7 @@ else
$listofoppstatus=array(); $listofopplabel=array(); $listofoppcode=array();
$sql = "SELECT cls.rowid, cls.code, cls.percent, cls.label";
$sql.= " FROM ".MAIN_DB_PREFIX."c_lead_status as cls";
$sql.= " WHERE active=1";
$resql = $db->query($sql);
if ( $resql )
{