[Vtigercrm-commits] [vtiger-commits] r7962 - /vtigercrm/trunk/Popup.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed Jul 12 03:16:20 EDT 2006


Author: saraj
Date: Wed Jul 12 01:16:16 2006
New Revision: 7962

Log:
* Modified the list query which is used to get the list of pricebooks associated with the correspondinf product

Modified:
    vtigercrm/trunk/Popup.php

Modified: vtigercrm/trunk/Popup.php
==============================================================================
--- vtigercrm/trunk/Popup.php (original)
+++ vtigercrm/trunk/Popup.php Wed Jul 12 01:16:16 2006
@@ -201,7 +201,7 @@
 if($currentModule == 'PriceBooks')
 {
 	$productid=$_REQUEST['productid'];
-	$query = 'select pricebook.*, pricebookproductrel.productid, pricebookproductrel.listprice, crmentity.crmid, crmentity.smownerid, crmentity.modifiedtime from pricebook inner join pricebookproductrel on pricebookproductrel.pricebookid = pricebook.pricebookid inner join crmentity on crmentity.crmid = pricebook.pricebookid where pricebookproductrel.productid='.$productid.' and crmentity.deleted=0';
+	$query = 'select vtiger_pricebook.*, vtiger_pricebookproductrel.productid, vtiger_pricebookproductrel.listprice, vtiger_crmentity.crmid, vtiger_crmentity.smownerid, vtiger_crmentity.modifiedtime from vtiger_pricebook inner join vtiger_pricebookproductrel on vtiger_pricebookproductrel.pricebookid = vtiger_pricebook.pricebookid inner join vtiger_crmentity on vtiger_crmentity.crmid = vtiger_pricebook.pricebookid where vtiger_pricebookproductrel.productid='.$productid.' and vtiger_crmentity.deleted=0';
 }
 else
 {





More information about the vtigercrm-commits mailing list