projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Additional fixes in payment/deposit allocations.
[fa-stable.git]
/
includes
/
db
/
manufacturing_db.inc
diff --git
a/includes/db/manufacturing_db.inc
b/includes/db/manufacturing_db.inc
index e3f494ff6471c2f9c05299c61eb4aad61e7c68b3..396fe3b138d287adca7e9a520a1cd095f52c2d78 100644
(file)
--- a/
includes/db/manufacturing_db.inc
+++ b/
includes/db/manufacturing_db.inc
@@
-64,7
+64,7
@@
function stock_demand_manufacture($stock_id, $qty, $demand_id, $location, $level
$stock_qty = $qoh_stock[$stock_id];
if ($stock_qty == NULL) $stock_qty = 0;
if ($qty <= $stock_qty) return $demand;
$stock_qty = $qoh_stock[$stock_id];
if ($stock_qty == NULL) $stock_qty = 0;
if ($qty <= $stock_qty) return $demand;
- $bom = $bom_list[$stock_id];
+ $bom =
@
$bom_list[$stock_id];
if ($bom == NULL) {
$sql = "SELECT parent, component, quantity FROM "
.TB_PREF."bom WHERE parent = ".db_escape($stock_id);
if ($bom == NULL) {
$sql = "SELECT parent, component, quantity FROM "
.TB_PREF."bom WHERE parent = ".db_escape($stock_id);