From: <tim...@us...> - 2010-06-26 08:05:42
|
Revision: 3526 http://web-erp.svn.sourceforge.net/web-erp/?rev=3526&view=rev Author: tim_schofield Date: 2010-06-26 08:05:36 +0000 (Sat, 26 Jun 2010) Log Message: ----------- Add in A5 parameters. Modified Paths: -------------- trunk/doc/Change.log.html trunk/includes/PDFStarter.php Modified: trunk/doc/Change.log.html =================================================================== --- trunk/doc/Change.log.html 2010-06-26 07:43:37 UTC (rev 3525) +++ trunk/doc/Change.log.html 2010-06-26 08:05:36 UTC (rev 3526) @@ -1,5 +1,6 @@ <p><font SIZE=4 COLOR=BLUE><b>webERP Change Log</b></font></p> <p></p> +<p>25/06/10 Tim: PDFStarter.php - Add in A5 parameters.</p> <p>25/06/10 Tim: SupplierTender.php - Highlight any expired offers.</p> <p>25/06/10 Tim: SupplierTender.php - Add in expiry date for offers.</p> <p>25/06/10 Tim: SupplierTender.php - Add facility of the supplier to view, amend, or remove offers.</p> Modified: trunk/includes/PDFStarter.php =================================================================== --- trunk/includes/PDFStarter.php 2010-06-26 07:43:37 UTC (rev 3525) +++ trunk/includes/PDFStarter.php 2010-06-26 08:05:36 UTC (rev 3526) @@ -54,6 +54,30 @@ $Right_Margin=30; break; + case 'A5': + + $DocumentPaper = 'A5'; $DocumentOrientation ='P'; + + $Page_Width=421; + $Page_Height=595; + $Top_Margin=30; + $Bottom_Margin=30; + $Left_Margin=40; + $Right_Margin=30; + break; + + case 'A5_Landscape': + + $DocumentPaper = 'A5'; $DocumentOrientation ='L'; + + $Page_Width=595; + $Page_Height=421; + $Top_Margin=30; + $Bottom_Margin=30; + $Left_Margin=40; + $Right_Margin=30; + break; + case 'A3': $DocumentPaper = 'A3'; $DocumentOrientation ='P'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |