[Vtigercrm-commits] [vtiger-commits] r5601 - in /vtigercrm/trunk/modules/Dashboard: Entity_charts.php ReportsCharts.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Sun Apr 30 06:05:40 EDT 2006
Author: richie
Date: Sun Apr 30 04:05:34 2006
New Revision: 5601
Log:
Charts in Reports has been integrated
Added:
vtigercrm/trunk/modules/Dashboard/ReportsCharts.php
Modified:
vtigercrm/trunk/modules/Dashboard/Entity_charts.php
Modified: vtigercrm/trunk/modules/Dashboard/Entity_charts.php
==============================================================================
--- vtigercrm/trunk/modules/Dashboard/Entity_charts.php (original)
+++ vtigercrm/trunk/modules/Dashboard/Entity_charts.php Sun Apr 30 04:05:34 2006
@@ -57,12 +57,13 @@
global $adb;
global $days,$date_array,$period_type;
- $where= " and crmentity.smownerid=".$user_id." and crmentity.createdtime between '".$date_start."' and '".$end_date."'" ;
+ //$where= " and crmentity.smownerid=".$user_id." and crmentity.createdtime between '".$date_start."' and '".$end_date."'" ;
$query.=$where;
if($added_qry!="")
$query.=$added_qry;
$result=$adb->query($query);
+
$no_of_rows=$adb->num_rows($result);
$mod_count_array=array();
$mod_name_array=array();
@@ -261,7 +262,7 @@
else
{
$data=0;
- echo "<h3> The data is not available with the specified time period</h3>";
+ return "<h3> The data is not available with the specified time period</h3>";
}
return $data;
}
More information about the vtigercrm-commits
mailing list