[Vtigercrm-commits] [vtiger-commits] r7584 - /vtigercrm/trunk/modules/PurchaseOrder/CreatePDF.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Jun 27 10:48:37 EDT 2006
Author: richie
Date: Tue Jun 27 08:48:34 2006
New Revision: 7584
Log:
fixed query for pdf generation
Modified:
vtigercrm/trunk/modules/PurchaseOrder/CreatePDF.php
Modified: vtigercrm/trunk/modules/PurchaseOrder/CreatePDF.php
==============================================================================
--- vtigercrm/trunk/modules/PurchaseOrder/CreatePDF.php (original)
+++ vtigercrm/trunk/modules/PurchaseOrder/CreatePDF.php Tue Jun 27 08:48:34 2006
@@ -82,7 +82,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_poproductrel.* from vtiger_poproductrel inner join vtiger_products on vtiger_products.productid=vtiger_poproductrel.productid where vtiger_purchaseorderid=".$id;
+$query="select vtiger_products.productname,vtiger_products.unit_price,vtiger_products.product_description,vtiger_poproductrel.* from vtiger_poproductrel inner join vtiger_products on vtiger_products.productid=vtiger_poproductrel.productid where purchaseorderid=".$id;
global $result;
$result = $adb->query($query);
More information about the vtigercrm-commits
mailing list