[Vtigercrm-commits] [vtiger-commits] r10923 - in /vtigercrm/branches/5.0.3/modules: Invoice/CreatePDF.php PurchaseOrder/CreatePDF.php Quotes/CreatePDF.php SalesOrder/CreateSOPDF.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon May 14 17:14:51 EDT 2007
Author: richie
Date: Mon May 14 15:14:36 2007
New Revision: 10923
Log:
* Fixed the issue in displaying special characters like & in PDF, Fixed #3781
Modified:
vtigercrm/branches/5.0.3/modules/Invoice/CreatePDF.php
vtigercrm/branches/5.0.3/modules/PurchaseOrder/CreatePDF.php
vtigercrm/branches/5.0.3/modules/Quotes/CreatePDF.php
vtigercrm/branches/5.0.3/modules/SalesOrder/CreateSOPDF.php
Modified: vtigercrm/branches/5.0.3/modules/Invoice/CreatePDF.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Invoice/CreatePDF.php (original)
+++ vtigercrm/branches/5.0.3/modules/Invoice/CreatePDF.php Mon May 14 15:14:36 2007
@@ -183,7 +183,7 @@
$prod_total[$i] = number_format($producttotal,2,'.',',');
$product_line[$j]["Product Code"] = $product_code[$i];
- $product_line[$j]["Product Name"] = $product_name[$i];
+ $product_line[$j]["Product Name"] = from_html($product_name[$i]);
$product_line[$j]["Qty"] = $qty[$i];
$product_line[$j]["Price"] = $list_price[$i];
$product_line[$j]["Discount"] = $discount_total[$i];
Modified: vtigercrm/branches/5.0.3/modules/PurchaseOrder/CreatePDF.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/PurchaseOrder/CreatePDF.php (original)
+++ vtigercrm/branches/5.0.3/modules/PurchaseOrder/CreatePDF.php Mon May 14 15:14:36 2007
@@ -180,7 +180,7 @@
}
$prod_total[$i] = number_format($producttotal,2,'.',',');
$product_line[$j]["Product Code"] = $product_code[$i];
- $product_line[$j]["Product Name"] = $product_name[$i];
+ $product_line[$j]["Product Name"] = from_html($product_name[$i]);
$product_line[$j]["Qty"] = $qty[$i];
$product_line[$j]["Price"] = $list_price[$i];
$product_line[$j]["Discount"] = $discount_total[$i];
Modified: vtigercrm/branches/5.0.3/modules/Quotes/CreatePDF.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/Quotes/CreatePDF.php (original)
+++ vtigercrm/branches/5.0.3/modules/Quotes/CreatePDF.php Mon May 14 15:14:36 2007
@@ -182,7 +182,7 @@
$prod_total[$i] = number_format($producttotal,2,'.',',');
$product_line[$j]["Product Code"] = $product_code[$i];
- $product_line[$j]["Product Name"] = $product_name[$i];
+ $product_line[$j]["Product Name"] = from_html($product_name[$i]);
$product_line[$j]["Qty"] = $qty[$i];
$product_line[$j]["Price"] = $list_price[$i];
$product_line[$j]["Discount"] = $discount_total[$i];
Modified: vtigercrm/branches/5.0.3/modules/SalesOrder/CreateSOPDF.php
==============================================================================
--- vtigercrm/branches/5.0.3/modules/SalesOrder/CreateSOPDF.php (original)
+++ vtigercrm/branches/5.0.3/modules/SalesOrder/CreateSOPDF.php Mon May 14 15:14:36 2007
@@ -181,7 +181,7 @@
$prod_total[$i] = number_format($producttotal,2,'.',',');
$product_line[$j]["Product Code"] = $product_code[$i];
- $product_line[$j]["Product Name"] = $product_name[$i];
+ $product_line[$j]["Product Name"] = from_html($product_name[$i]);
$product_line[$j]["Qty"] = $qty[$i];
$product_line[$j]["Price"] = $list_price[$i];
$product_line[$j]["Discount"] = $discount_total[$i];
More information about the vtigercrm-commits
mailing list