From: <dai...@us...> - 2012-02-03 09:57:58
|
Revision: 4865 http://web-erp.svn.sourceforge.net/web-erp/?rev=4865&view=rev Author: daintree Date: 2012-02-03 09:57:52 +0000 (Fri, 03 Feb 2012) Log Message: ----------- fix delete po lines bug Modified Paths: -------------- trunk/doc/Change.log trunk/includes/DefinePOClass.php Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-02-02 22:35:31 UTC (rev 4864) +++ trunk/doc/Change.log 2012-02-03 09:57:52 UTC (rev 4865) @@ -1,5 +1,6 @@ webERP Change Log +3/2/12 Vitaly:Fixed bug that was not allowing PO lines to be deleted in OrderValue method of PO class was testing using asignment operator not comparison operator 31/1/12 Vitaly: Added DB_escape_string before ItemDescription and SupplierName in GoodsReceived.php to prevent problems with '. 31/1/12 Phil: Stocks.php error on changing a stock category the journal between the stock GL accounts was not working because $NewStockAccount should have been $NewStockAct 31/1/12 Phil: PO_Items.php removed $Maximum_Number_Of_Parts_To_Show should exist when we are already limiting the output of the query based on the configuraiton option $_SESSION['DefaultDisplayRecordsMax']; Modified: trunk/includes/DefinePOClass.php =================================================================== --- trunk/includes/DefinePOClass.php 2012-02-02 22:35:31 UTC (rev 4864) +++ trunk/includes/DefinePOClass.php 2012-02-03 09:57:52 UTC (rev 4865) @@ -178,7 +178,7 @@ function Order_Value() { $TotalValue=0; foreach ($this->LineItems as $OrderedItems) { - if ($OrderedItems->Deleted = False){ + if ($OrderedItems->Deleted == False){ $TotalValue += ($OrderedItems->Price)*($OrderedItems->Quantity); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |