From: <vv...@us...> - 2012-04-02 18:19:49
|
Revision: 5210 http://web-erp.svn.sourceforge.net/web-erp/?rev=5210&view=rev Author: vvs2012 Date: 2012-04-02 18:19:39 +0000 (Mon, 02 Apr 2012) Log Message: ----------- BOMs delete function requires Location and WorkCentre to be set Modified Paths: -------------- trunk/BOMs.php trunk/doc/Change.log Modified: trunk/BOMs.php =================================================================== --- trunk/BOMs.php 2012-04-02 15:52:54 UTC (rev 5209) +++ trunk/BOMs.php 2012-04-02 18:19:39 UTC (rev 5210) @@ -195,6 +195,20 @@ $SelectedComponent = $_POST['SelectedComponent']; } +/* delete function requires Location to be set */ +if (isset($_GET['Location'])){ + $Location = $_GET['Location']; +} elseif (isset($_POST['Location'])){ + $Location = $_POST['Location']; +} + +/* delete function requires WorkCentre to be set */ +if (isset($_GET['WorkCentre'])){ + $WorkCentre = $_GET['WorkCentre']; +} elseif (isset($_POST['WorkCentre'])){ + $WorkCentre = $_POST['WorkCentre']; +} + if (isset($_GET['Select'])){ $Select = $_GET['Select']; } elseif (isset($_POST['Select'])){ Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2012-04-02 15:52:54 UTC (rev 5209) +++ trunk/doc/Change.log 2012-04-02 18:19:39 UTC (rev 5210) @@ -1,9 +1,10 @@ webERP Change Log +2/4/2012 Vitaly: BOMs delete function requires Location and WorkCentre to be set 2/4/2012 Billy Chang,劉世琪: add Chinese Traditional TW locale 2/4/2012 Exson: fixed CopyBOM.php sql errors and header already sent error. 31/3/2012 Exson: Fixed for PcAuthorizeExpenses.php cannot authorized expenses due to no applying gettext function to 'Update' 31/3/2012: PakRichard: Fixed problem that on PCAssignCashToTab.php it should be used the decimal places of the currency of the tab, not the decimal places of the functional currency.The same in PcClaimExpensesFromTab.php -31/3/2012 Kunshan-Ouhai\xA1G Fixed bug in PDFStockCheckComparision.php when selecting Report and Close the Inventory Comparison, there will be seriously sql errors. Reported and fixed by Kunshan-Ouhai from webERP Chinese community QQ group. +31/3/2012 Kunshan-Ouhai?G Fixed bug in PDFStockCheckComparision.php when selecting Report and Close the Inventory Comparison, there will be seriously sql errors. Reported and fixed by Kunshan-Ouhai from webERP Chinese community QQ group. 31/3/2012 Dafydd Crosby: Revise scripts Add_SerialItemsOut.php and OutputSerialItems.php fixes a problem that occurs when receiving a bulk inventory transfer. There was a hard-coded loop that prevented adding bundles that were greater than 10. 30/3/2012 Richard Andreu Modified security role to order by role name instead of by roleid to make it more user friendly in WWW_Access.php and WWW_Users.php 29/3/2012Exson:Fixed href typo error which lead to Select another location link does not work in InternalStockRequestFulfill.php This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |