[Vtigercrm-commits] [vtiger-commits] r7585 - /vtigercrm/trunk/modules/SalesOrder/CreateSOPDF.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Jun 27 10:49:55 EDT 2006
Author: richie
Date: Tue Jun 27 08:49:52 2006
New Revision: 7585
Log:
fixed query for pdf generation
Modified:
vtigercrm/trunk/modules/SalesOrder/CreateSOPDF.php
Modified: vtigercrm/trunk/modules/SalesOrder/CreateSOPDF.php
==============================================================================
--- vtigercrm/trunk/modules/SalesOrder/CreateSOPDF.php (original)
+++ vtigercrm/trunk/modules/SalesOrder/CreateSOPDF.php Tue Jun 27 08:49:52 2006
@@ -85,7 +85,7 @@
$price_total = $currency_symbol.number_format(StripLastZero($focus->column_fields["hdnGrandTotal"]),2,'.',',');
//getting the Product Data
-$query="select vtiger_products.productname,vtiger_products.unit_price,vtiger_products.product_description,vtiger_soproductrel.* from vtiger_soproductrel inner join vtiger_products on vtiger_products.productid=vtiger_soproductrel.productid where vtiger_salesorderid=".$id;
+$query="select vtiger_products.productname,vtiger_products.unit_price,vtiger_products.product_description,vtiger_soproductrel.* from vtiger_soproductrel inner join vtiger_products on vtiger_products.productid=vtiger_soproductrel.productid where salesorderid=".$id;
global $result;
$result = $adb->query($query);
More information about the vtigercrm-commits
mailing list