[Vtigercrm-commits] [vtiger-commits] r7054 - /vtigercrm/trunk/modules/Dashboard/Entity_charts.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Jun 13 11:15:56 EDT 2006
Author: saraj
Date: Tue Jun 13 09:15:53 2006
New Revision: 7054
Log:
changes made to include extra graphs
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 Tue Jun 13 09:15:53 2006
@@ -199,6 +199,14 @@
$name_val=get_assigned_user_name($name);
if($name_val!="")
$name=$name_val;
+ }
+ if($graph_for =="product_id")
+ {
+ $query = "SELECT productname FROM vtiger_products WHERE productid=".$name;
+ $result = $adb->query($query);
+ $name_val = $adb->query_result($result,0,"productname");
+ if($name_val!="")
+ $name=$name_val;
}
//Passing name to graph
if($mod_name_val!="") $mod_name_val.=",$name";
More information about the vtigercrm-commits
mailing list