From: <tim...@us...> - 2009-12-04 10:21:55
|
Revision: 3141 http://web-erp.svn.sourceforge.net/web-erp/?rev=3141&view=rev Author: tim_schofield Date: 2009-12-04 10:21:45 +0000 (Fri, 04 Dec 2009) Log Message: ----------- Change to make the file name have a default extension of pdf as per suggestion from Javier Modified Paths: -------------- trunk/doc/Change.log.html trunk/reportwriter/WriteForm.inc trunk/reportwriter/WriteReport.inc Modified: trunk/doc/Change.log.html =================================================================== --- trunk/doc/Change.log.html 2009-12-04 09:49:56 UTC (rev 3140) +++ trunk/doc/Change.log.html 2009-12-04 10:21:45 UTC (rev 3141) @@ -1,5 +1,7 @@ <p><font SIZE=4 COLOR=BLUE><b>webERP Change Log</b></font></p> <p> +<p>04/12/09 Tim: WriteForm.inc - Change to make the file name have a default extension of pdf as per suggestion from Javier +<p>04/12/09 Tim: WriteReport.inc - Change to make the file name have a default extension of pdf as per suggestion from Javier <p>04/12/09 Tim: ConfirmDispatch_Invoice.php - Items are posted directly to the GL so posted should be immediately set to 1. <p>04/12/09 Tim: PO_Items.php - Show the suppliers uom correctly, and have button correctly shown on screen. <p>01/12/09 Tim: StockTransferontrolled.php - Correct for batch controlled Items. Modified: trunk/reportwriter/WriteForm.inc =================================================================== --- trunk/reportwriter/WriteForm.inc 2009-12-04 09:49:56 UTC (rev 3140) +++ trunk/reportwriter/WriteForm.inc 2009-12-04 10:21:45 UTC (rev 3141) @@ -600,7 +600,7 @@ // Add additional headers needed for MSIE and send page header('Pragma: cache'); header('Cache-Control: public, must-revalidate, max-age=0'); - $pdf->Output($Prefs['reportname'].'.pdf','D'); + $pdf->Output($Prefs['reportname'].'.pdf','I'); exit(); // needs to be here to properly render the pdf file. } Modified: trunk/reportwriter/WriteReport.inc =================================================================== --- trunk/reportwriter/WriteReport.inc 2009-12-04 09:49:56 UTC (rev 3140) +++ trunk/reportwriter/WriteReport.inc 2009-12-04 10:21:45 UTC (rev 3141) @@ -270,7 +270,7 @@ } function Stream($FileName) { - $this->Output($FileName,'D'); + $this->Output($FileName,'I'); } } // end class This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |