projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[0000936] Fixed invalid sales order update on voiding delivery note after SO line...
[fa-stable.git]
/
purchasing
/
supplier_credit.php
diff --git
a/purchasing/supplier_credit.php
b/purchasing/supplier_credit.php
index 7cea70211027571f904ec925e441338d0a999a41..038f50857d60e409647be029c6f4dbfb2ef23e15 100644
(file)
--- a/
purchasing/supplier_credit.php
+++ b/
purchasing/supplier_credit.php
@@
-194,7
+194,7
@@
function check_data()
foreach ($_SESSION['supp_trans']->grn_items as $n => $item) {
if (is_inventory_item($item->item_code))
{
foreach ($_SESSION['supp_trans']->grn_items as $n => $item) {
if (is_inventory_item($item->item_code))
{
- $qoh = get_qoh_on_date($item->item_code,
$item->location
, $_SESSION['supp_trans']->tran_date);
+ $qoh = get_qoh_on_date($item->item_code,
null
, $_SESSION['supp_trans']->tran_date);
if ($item->qty_recd > $qoh)
{
$stock = get_item($item->item_code);
if ($item->qty_recd > $qoh)
{
$stock = get_item($item->item_code);