From: <tim...@us...> - 2010-03-21 13:13:00
|
Revision: 3396 http://web-erp.svn.sourceforge.net/web-erp/?rev=3396&view=rev Author: tim_schofield Date: 2010-03-21 13:12:52 +0000 (Sun, 21 Mar 2010) Log Message: ----------- Simon Peter Otandeka: PDFStatementPageHeader.inc - Correction for right margin variable misnamed Modified Paths: -------------- trunk/doc/Change.log.html trunk/includes/PDFStatementPageHeader.inc Modified: trunk/doc/Change.log.html =================================================================== --- trunk/doc/Change.log.html 2010-03-21 12:39:40 UTC (rev 3395) +++ trunk/doc/Change.log.html 2010-03-21 13:12:52 UTC (rev 3396) @@ -1,5 +1,6 @@ <p><font SIZE=4 COLOR=BLUE><b>webERP Change Log</b></font></p> <p></p> +<p>21/03/10 Simon Peter Otandeka: PDFStatementPageHeader.inc - Correction for right margin variable misnamed</p> <p>21/03/10 Pak Ricad: MRPShortages.php - Correctuion to mrp shortages report where total supply = 0</p> <p>18/03/10 Tim: Add report of customer transactions entered on a given date</p> <p>18/03/10 Tim: Add report of supplier transactions entered on a given date</p> @@ -22,7 +23,7 @@ <p>09/03/10 Tim: PDFStockLocTransfer.php - Add a reprint option</p> <p>09/03/10 Tim: Updates to Petty Cash Management Report and include new header file</p> <p>08/03/10 Tim: Small changes to Petty Cash module</p> -<p>08/03/10 Simon Peter Otandekar: FixedAssetRegister.php Include totals and sub-totals</p> +<p>08/03/10 Simon Peter Otandeka: FixedAssetRegister.php Include totals and sub-totals</p> <p>08/03/10 Tim: PrintCustTransPortrait.php Correctly show the prices</p> <p>08/03/10 Tim: Corrections to DIFOT report to correctly show the logo</p> <p>05/03/10 Lindsay: PrintCustTrans.php generates HTML for Print, PDF for Print PDF</p> Modified: trunk/includes/PDFStatementPageHeader.inc =================================================================== --- trunk/includes/PDFStatementPageHeader.inc 2010-03-21 12:39:40 UTC (rev 3395) +++ trunk/includes/PDFStatementPageHeader.inc 2010-03-21 13:12:52 UTC (rev 3396) @@ -2,7 +2,7 @@ /* $Id$*/ /* PDFlib code to set up a new page */ -$Perforation = $Page_Width - $RightMargin - 160; +$Perforation = $Page_Width - $Right_Margin - 160; $YPos = $Page_Height - $Top_Margin; @@ -55,7 +55,7 @@ $LineCount += 1; $pdf->addText($XPos, $YPos-$LineCount*$LineHeight,$FontSize, $_SESSION['CompanyRecord']['regoffice2']); } -if (($_SESSION['CompanyRecord']['regoffice3'] <> '') OR ($_SESSION['CompanyRecord']['regoffice4'] <> '') OR ($_SESSION['CompanyRecord']['regoffice5'] <> '')) { +if (($_SESSION['CompanyRecord']['regoffice3'] <> '') OR ($_SESSION['CompanyRecord']['regoffice4'] <> '') OR ($_SESSION['CompanyRecord']['regoffice5'] <> '')) { $LineCount += 1; $pdf->addText($XPos, $YPos-$LineCount*$LineHeight,$FontSize, $_SESSION['CompanyRecord']['regoffice3'] . ' ' . $_SESSION['CompanyRecord']['regoffice4'] . ' ' . $_SESSION['CompanyRecord']['regoffice5']); // country in 6 not printed } @@ -83,7 +83,7 @@ $LineCountR += 1; $pdf->addText($Perforation+1, $YPosR-$LineCountR*$LineHeight,$FontSize, $_SESSION['CompanyRecord']['regoffice2']); } -if (($_SESSION['CompanyRecord']['regoffice3'] <> '') OR ($_SESSION['CompanyRecord']['regoffice4'] <> '') OR ($_SESSION['CompanyRecord']['regoffice5'] <> '')) { +if (($_SESSION['CompanyRecord']['regoffice3'] <> '') OR ($_SESSION['CompanyRecord']['regoffice4'] <> '') OR ($_SESSION['CompanyRecord']['regoffice5'] <> '')) { $LineCountR += 1; $pdf->addText($Perforation+1, $YPosR-$LineCountR*$LineHeight,$FontSize, $_SESSION['CompanyRecord']['regoffice3'] . ' ' . $_SESSION['CompanyRecord']['regoffice4'] . ' ' . $_SESSION['CompanyRecord']['regoffice5']); // country in 6 not printed } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |