From: <tim...@us...> - 2010-09-08 21:29:05
|
Revision: 3719 http://web-erp.svn.sourceforge.net/web-erp/?rev=3719&view=rev Author: tim_schofield Date: 2010-09-08 21:28:59 +0000 (Wed, 08 Sep 2010) Log Message: ----------- Fix missing sql error message and correct the default date format in the heading Modified Paths: -------------- trunk/PDFStockNegatives.php trunk/doc/Change.log.html trunk/includes/PDFStockNegativesHeader.inc Modified: trunk/PDFStockNegatives.php =================================================================== --- trunk/PDFStockNegatives.php 2010-09-08 21:25:05 UTC (rev 3718) +++ trunk/PDFStockNegatives.php 2010-09-08 21:28:59 UTC (rev 3719) @@ -17,6 +17,7 @@ $title = _('Negative Stock Listing Error'); $ErrMsg = _('An error occurred retrieving the negative quantities.'); +$DbgMsg = _('The sql that failed to retrieve the negative quantities was'); $sql = "SELECT stockmaster.stockid, stockmaster.description, Modified: trunk/doc/Change.log.html =================================================================== --- trunk/doc/Change.log.html 2010-09-08 21:25:05 UTC (rev 3718) +++ trunk/doc/Change.log.html 2010-09-08 21:28:59 UTC (rev 3719) @@ -1,6 +1,6 @@ <p><font SIZE=4 COLOR=BLUE><b>webERP Change Log</b></font></p> <p></p> -<p>08/09/10 Tim: PDFStockLocTransfer.php - Correct the sql quoting</p> +<p>08/09/10 Tim: PDFStockNegatives.php - Fix missing sql error message and correct the default date format in the heading</p> <p>08/09/10 Tim: PDFStockCheckComparison.php - Screen layout improvements. Correct the sql quoting</p> <p>07/09/10 Tim: PDFRemittanceAdvice.php - Correct the sql quoting</p> <p>07/09/10 Tim: PDFReceipt.php - Correct the sql quoting</p> Modified: trunk/includes/PDFStockNegativesHeader.inc =================================================================== --- trunk/includes/PDFStockNegativesHeader.inc 2010-09-08 21:25:05 UTC (rev 3718) +++ trunk/includes/PDFStockNegativesHeader.inc 2010-09-08 21:28:59 UTC (rev 3719) @@ -9,7 +9,7 @@ $FontSize=12; $YPos= $Page_Height-$Top_Margin; $LeftOvers = $pdf->addTextWrap($Left_Margin,$YPos,300,$FontSize,$_SESSION['CompanyRecord']['coyname']); -$LeftOvers = $pdf->addTextWrap($Page_Width-$Right_Margin-120,$YPos,120,$FontSize, _('Printed'). ': ' . Date($DefaultDateFormat) . ' ' . _('Page'). ' ' . $PageNumber); +$LeftOvers = $pdf->addTextWrap($Page_Width-$Right_Margin-120,$YPos,120,$FontSize, _('Printed'). ': ' . Date($_SESSION['DefaultDateFormat']) . ' ' . _('Page'). ' ' . $PageNumber); $YPos -=15; $FontSize=12; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |