From: <ex...@us...> - 2017-06-22 02:52:31
|
Revision: 7794 http://sourceforge.net/p/web-erp/reponame/7794 Author: exsonqu Date: 2017-06-22 02:52:29 +0000 (Thu, 22 Jun 2017) Log Message: ----------- 22/06/22 Exson: Fixed the Over Receive Portion bug in WorkOrderReceive.php. Modified Paths: -------------- trunk/WorkOrderReceive.php trunk/doc/Change.log Modified: trunk/WorkOrderReceive.php =================================================================== --- trunk/WorkOrderReceive.php 2017-06-22 00:53:58 UTC (rev 7793) +++ trunk/WorkOrderReceive.php 2017-06-22 02:52:29 UTC (rev 7794) @@ -136,7 +136,7 @@ } } - if ($QuantityReceived + $WORow['qtyrecd'] > $WORow['qtyreqd'] *(1+$_SESSION['OverReceiveProportion'])){ + if ($QuantityReceived + $WORow['qtyrecd'] > $WORow['qtyreqd'] *(1+$_SESSION['OverReceiveProportion']/100)){ prnMsg(_('The quantity received is greater than the quantity required even after allowing for the configured allowable over-receive proportion. If this is correct then the work order must be modified first.'),'error'); $InputError=true; } Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2017-06-22 00:53:58 UTC (rev 7793) +++ trunk/doc/Change.log 2017-06-22 02:52:29 UTC (rev 7794) @@ -1,5 +1,6 @@ webERP Change Log +22/06/22 Exson: Fixed the Over Receive Portion bug in WorkOrderReceive.php. 21/06/17 RChacon: Add meta viewport for initial-scale=1 (for working css in small devices). 2017-06-20 4.14 release |