From: <tim...@us...> - 2009-11-22 11:30:34
|
Revision: 3077 http://web-erp.svn.sourceforge.net/web-erp/?rev=3077&view=rev Author: tim_schofield Date: 2009-11-22 11:30:25 +0000 (Sun, 22 Nov 2009) Log Message: ----------- Correct variable name to show order lines correctly Modified Paths: -------------- trunk/PO_PDFPurchOrder.php trunk/doc/Change.log.html trunk/includes/PO_PDFOrderPageHeader.inc Modified: trunk/PO_PDFPurchOrder.php =================================================================== --- trunk/PO_PDFPurchOrder.php 2009-11-22 10:41:36 UTC (rev 3076) +++ trunk/PO_PDFPurchOrder.php 2009-11-22 11:30:25 UTC (rev 3077) @@ -90,7 +90,7 @@ suppliers.currcode FROM purchorders INNER JOIN suppliers ON purchorders.supplierno = suppliers.supplierid - WHERE purchorders.orderno = " . $OrderNo; + WHERE purchorders.orderno=" . $OrderNo; $result=DB_query($sql,$db, $ErrMsg); if (DB_num_rows($result)==0){ /*There is ony one order header returned */ Modified: trunk/doc/Change.log.html =================================================================== --- trunk/doc/Change.log.html 2009-11-22 10:41:36 UTC (rev 3076) +++ trunk/doc/Change.log.html 2009-11-22 11:30:25 UTC (rev 3077) @@ -1,5 +1,6 @@ <p><font SIZE=4 COLOR=BLUE><b>webERP Change Log</b></font></p> <p> +<p>22/11/09 Tim: PO_PDFOrderPageHeader.php - Correct variable name to show order lines correctly <p>21/11/09 Tim: PO_AuthorisationLevels.php - Correct edit functionality - Fixes Ticket #15 <p>21/11/09 Tim: Logout.php - Take out reference to $demo_text and the incorrect call to session_start(). <p>20/11/09 Tim: CustomerInquiry.php - Correction of errors in retrieving the number of months inquiries to show. Modified: trunk/includes/PO_PDFOrderPageHeader.inc =================================================================== --- trunk/includes/PO_PDFOrderPageHeader.inc 2009-11-22 10:41:36 UTC (rev 3076) +++ trunk/includes/PO_PDFOrderPageHeader.inc 2009-11-22 11:30:25 UTC (rev 3077) @@ -124,8 +124,8 @@ } $sql='SELECT terms FROM paymentterms where termsindicator="'.$POHeader['paymentterms'].'"'; -$result=DB_query($sql, $db); -$myrow=DB_fetch_array($result); +$termsresult=DB_query($sql, $db); +$myrow=DB_fetch_array($termsresult); $pdf->addText($XPos+2,$YPos-($line_height), $FontSize, _('Payment Terms').' : '.$myrow['terms']); $XPos = $Left_Margin; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |