|
From: <dai...@us...> - 2013-04-05 20:42:41
|
Revision: 5833
http://sourceforge.net/p/web-erp/reponame/5833
Author: daintree
Date: 2013-04-05 20:42:38 +0000 (Fri, 05 Apr 2013)
Log Message:
-----------
Rafael max length of description in price list
Modified Paths:
--------------
trunk/PDFPriceList.php
trunk/doc/Change.log
Modified: trunk/PDFPriceList.php
===================================================================
--- trunk/PDFPriceList.php 2013-03-31 21:17:23 UTC (rev 5832)
+++ trunk/PDFPriceList.php 2013-04-05 20:42:38 UTC (rev 5833)
@@ -211,7 +211,8 @@
}
}/*end checked file exist*/
- $Split = explode("\r\n", $PriceList['longdescription']);
+ $Split = explode("\r\n", wordwrap($PriceList['longdescription'],130,"\r\n"));
+
$FontSize2=6;
if ($YPos < ($Bottom_Margin + (count($Split)*$line_height))){
PageHeader();
Modified: trunk/doc/Change.log
===================================================================
--- trunk/doc/Change.log 2013-03-31 21:17:23 UTC (rev 5832)
+++ trunk/doc/Change.log 2013-04-05 20:42:38 UTC (rev 5833)
@@ -1,5 +1,6 @@
webERP Change Log
+6/4/13 Rafael: PDFPriceList.php split long description to maximum of 132 characters long
1/4/13 Kalmer Piiskop: Correct includes/LanguagesArray.php to use correct decimal point and thousands separator
27/3/13 Fahad Hatib: Updates to editing tenders and button to close a tender
22/3/13 Kalmer Piiskop: Updated Estonian translation
|