[Vtigercrm-commits] [vtiger-commits] r7583 - /vtigercrm/trunk/modules/Invoice/CreatePDF.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Tue Jun 27 10:48:02 EDT 2006
Author: richie
Date: Tue Jun 27 08:47:59 2006
New Revision: 7583
Log:
fixed query for pdf generation
Modified:
vtigercrm/trunk/modules/Invoice/CreatePDF.php
Modified: vtigercrm/trunk/modules/Invoice/CreatePDF.php
==============================================================================
--- vtigercrm/trunk/modules/Invoice/CreatePDF.php (original)
+++ vtigercrm/trunk/modules/Invoice/CreatePDF.php Tue Jun 27 08:47:59 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_invoiceproductrel.* from vtiger_invoiceproductrel inner join vtiger_products on vtiger_products.productid=vtiger_invoiceproductrel.productid where vtiger_invoiceid=".$id;
+$query="select vtiger_products.productname,vtiger_products.unit_price,vtiger_products.product_description,vtiger_invoiceproductrel.* from vtiger_invoiceproductrel inner join vtiger_products on vtiger_products.productid=vtiger_invoiceproductrel.productid where invoiceid=".$id;
global $result;
$result = $adb->query($query);
More information about the vtigercrm-commits
mailing list