projects
/
textcart.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f582c2
)
0001561: Supplier Credit Notes rasies false error about QOH
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Sun, 29 Apr 2012 18:32:44 +0000
(20:32 +0200)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Sun, 29 Apr 2012 18:32:44 +0000
(20:32 +0200)
purchasing/supplier_credit.php
patch
|
blob
|
history
diff --git
a/purchasing/supplier_credit.php
b/purchasing/supplier_credit.php
index 038f50857d60e409647be029c6f4dbfb2ef23e15..4824344e0d907b1aff4ce8fdf92c01b1a09e0e8f 100644
(file)
--- a/
purchasing/supplier_credit.php
+++ b/
purchasing/supplier_credit.php
@@
-195,7
+195,7
@@
function check_data()
if (is_inventory_item($item->item_code))
{
$qoh = get_qoh_on_date($item->item_code, null, $_SESSION['supp_trans']->tran_date);
- if ($item->
qty_recd
> $qoh)
+ if ($item->
this_quantity_inv
> $qoh)
{
$stock = get_item($item->item_code);
display_error(_("The return cannot be processed because there is an insufficient quantity for item:") .