|
From: <ex...@us...> - 2014-05-14 15:40:33
|
Revision: 6708
http://sourceforge.net/p/web-erp/reponame/6708
Author: exsonqu
Date: 2014-05-14 15:40:27 +0000 (Wed, 14 May 2014)
Log Message:
-----------
14/05/2014 Exson: Fixed typo in MRPReport.php which make some supplies not to be shown on the report and use itemdue instead of deliverydate in MRP to ensure that requirements are calculated correctly for items due on different date.
Modified Paths:
--------------
trunk/MRP.php
trunk/MRPReport.php
Modified: trunk/MRP.php
===================================================================
--- trunk/MRP.php 2014-05-12 06:05:32 UTC (rev 6707)
+++ trunk/MRP.php 2014-05-14 15:40:27 UTC (rev 6708)
@@ -239,7 +239,7 @@
directdemand,
whererequired)
SELECT stkcode,
- deliverydate,
+ itemdue,
(quantity - qtyinvoiced) AS netqty,
'SO',
salesorderdetails.orderno,
Modified: trunk/MRPReport.php
===================================================================
--- trunk/MRPReport.php 2014-05-12 06:05:32 UTC (rev 6707)
+++ trunk/MRPReport.php 2014-05-14 15:40:27 UTC (rev 6708)
@@ -422,7 +422,7 @@
// Details for Demand/Supply Sections
$i = 0;
- while ((isset($Supplies[$i]) AND mb_strlen($Supplies[$i]['part'])) > 1
+ while ((isset($Supplies[$i]) AND mb_strlen($Supplies[$i]['part']) > 1)
OR (isset($Requirements[$i]) AND mb_strlen($Requirements[$i]['part']) > 1)){
$YPos -=$line_height;
@@ -828,4 +828,4 @@
} // End of PrintHeader function
-?>
+?>
\ No newline at end of file
|