[Vtigercrm-commits] [vtiger-commits] r7091 - /vtigercrm/trunk/modules/Dashboard/display_charts.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed Jun 14 10:11:04 EDT 2006


Author: saraj
Date: Wed Jun 14 08:11:00 2006
New Revision: 7091

Log:
query has been modified

Modified:
    vtigercrm/trunk/modules/Dashboard/display_charts.php

Modified: vtigercrm/trunk/modules/Dashboard/display_charts.php
==============================================================================
--- vtigercrm/trunk/modules/Dashboard/display_charts.php (original)
+++ vtigercrm/trunk/modules/Dashboard/display_charts.php Wed Jun 14 08:11:00 2006
@@ -438,7 +438,7 @@
 			$graph_by="smownerid";
 			$graph_title=$mod_strings['salesbyuser'];
 			$module="Potentials";
-			$where=" and (crmentity.smownerid != NULL || crmentity.smownerid != ' ')";
+			$where=" and (vtiger_crmentity.smownerid != NULL || vtiger_crmentity.smownerid != ' ')";
 			$query=$potential_query;
 			echo get_graph_by_type($graph_by,$graph_title,$module,$where,$query);
 		    }
@@ -448,7 +448,7 @@
 			$graph_by="groupname";
 			$graph_title=$mod_strings['salesbyteam'];
 			$module="Potentials";
-			$where=" and (potentialgrouprelation.groupname != NULL || potentialgrouprelation.groupname != '')";
+			$where=" and (vtiger_potentialgrouprelation.groupname != NULL || vtiger_potentialgrouprelation.groupname != '')";
 			$query=$potential_query;
 			echo get_graph_by_type($graph_by,$graph_title,$module,$where,$query);
 		    }
@@ -619,7 +619,7 @@
 			    $graph_by="smownerid";
 			    $graph_title=$mod_strings['ticketsbyowner'];
 			    $module="HelpDesk";
-			    $where=" and (crmentity.smownerid != NULL || crmentity.smownerid != ' ')";
+			    $where=" and (vtiger_crmentity.smownerid != NULL || vtiger_crmentity.smownerid != ' ')";
 			    $query=$helpdesk_query;
 			    echo get_graph_by_type($graph_by,$graph_title,$module,$where,$query);
 		    }
@@ -629,7 +629,7 @@
 			    $graph_by="ticketgroupname";
 			    $graph_title=$mod_strings['ticketsbyteam'];
 			    $module="HelpDesk";
-			    $where=" and (ticketgrouprelation.groupname != NULL || ticketgrouprelation.groupname != ' ')";
+			    $where=" and (vtiger_ticketgrouprelation.groupname != NULL || vtiger_ticketgrouprelation.groupname != ' ')";
 			    $query=$helpdesk_query;
 			    echo get_graph_by_type($graph_by,$graph_title,$module,$where,$query);
 		    }    





More information about the vtigercrm-commits mailing list