From: <dai...@us...> - 2012-02-07 05:58:42
|
Revision: 4881 http://web-erp.svn.sourceforge.net/web-erp/?rev=4881&view=rev Author: daintree Date: 2012-02-07 05:58:36 +0000 (Tue, 07 Feb 2012) Log Message: ----------- fix stock transfer Modified Paths: -------------- trunk/StockTransfers.php trunk/doc/Change.log Modified: trunk/StockTransfers.php =================================================================== --- trunk/StockTransfers.php 2012-02-07 04:53:54 UTC (rev 4880) +++ trunk/StockTransfers.php 2012-02-07 05:58:36 UTC (rev 4881) @@ -65,7 +65,7 @@ if (isset($_GET['NewTransfer'])){ unset($_SESSION['Transfer']); - unset($_SESSION['TransferItem']); /*this is defined in bulk transfers but needs to be unset for individual trsnsfers */ + unset($_SESSION['TransferItem']); /*this is defined in bulk transfers but needs to be unset for individual transfers */ $NewTransfer=$_GET['NewTransfer']; } @@ -78,6 +78,8 @@ unset($_SESSION['Transfer']); $NewTransfer = true; } + } else { /* _SESSION['Transfer']->TransferItem[0] is not set so */ + $NewTransfer = true; } } Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-02-07 04:53:54 UTC (rev 4880) +++ trunk/doc/Change.log 2012-02-07 05:58:36 UTC (rev 4881) @@ -1,5 +1,7 @@ webERP Change Log +7/2/12 Phil: StockTransfers.php if SESSION['Transfer'][0] not set then now initiate a new transfer +7/2/12 Exson: Sent NewTransfer with call from SelectProduct.php to ensure new transfer initiated 6/2/12 Tim: Removed FUD as new API functions seem consistent with the rest of the API</p> 6/2/12 Phil: Added new API function InsertDebtorReceipt in api_debtortransactions.php 4/2/12 Vitaly: Fixed addTextWrap() in class.pdf.php. The length of the string was not calculated properly, causing long strings to print beyond the cell boundaries. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |