[Vtigercrm-commits] [vtiger-commits] r7064 - /vtigercrm/trunk/modules/Dashboard/Entity_charts.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed Jun 14 03:22:36 EDT 2006
Author: saraj
Date: Wed Jun 14 01:22:32 2006
New Revision: 7064
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 Wed Jun 14 01:22:32 2006
@@ -210,7 +210,7 @@
}
if($graph_for =="purchaseorderid")
{
- $query = "SELECT subject FROM purchaseorder WHERE purchaseorderid='".$name."'";
+ $query = "SELECT subject FROM vtiger_purchaseorder WHERE purchaseorderid='".$name."'";
$result = $adb->query($query);
$name_val = $adb->query_result($result,0,"subject");
if($name_val!="")
@@ -218,7 +218,7 @@
}
if($graph_for =="quoteid")
{
- $query = "SELECT subject FROM quotes WHERE quoteid='".$name."'";
+ $query = "SELECT subject FROM vtiger_quotes WHERE quoteid='".$name."'";
$result = $adb->query($query);
$name_val = $adb->query_result($result,0,"subject");
if($name_val!="")
@@ -226,7 +226,7 @@
}
if($graph_for =="invoiceid")
{
- $query = "SELECT subject FROM invoice WHERE invoiceid='".$name."'";
+ $query = "SELECT subject FROM vtiger_invoice WHERE invoiceid='".$name."'";
$result = $adb->query($query);
$name_val = $adb->query_result($result,0,"subject");
if($name_val!="")
More information about the vtigercrm-commits
mailing list