[Vtigercrm-commits] [vtiger-commits] r11077 - /vtigercrm/branches/5.0.3/Popup.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon May 28 01:24:14 EDT 2007


Author: jerrydgeorge
Date: Sun May 27 23:24:06 2007
New Revision: 11077

Log:
Active ProceBooks are only shown in PriceBooks Popup.php

Modified:
    vtigercrm/branches/5.0.3/Popup.php

Modified: vtigercrm/branches/5.0.3/Popup.php
==============================================================================
--- vtigercrm/branches/5.0.3/Popup.php (original)
+++ vtigercrm/branches/5.0.3/Popup.php Sun May 27 23:24:06 2007
@@ -211,7 +211,7 @@
 if($currentModule == 'PriceBooks')
 {
 	$productid=$_REQUEST['productid'];
-	$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';
+	$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 and vtiger_pricebook.active=1';
 }
 else
 {





More information about the vtigercrm-commits mailing list