projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52f4ea3
)
items_cart class has a logical bug, fixed by @kvvaradha.
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Wed, 23 Jan 2019 10:26:41 +0000
(11:26 +0100)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Wed, 23 Jan 2019 10:26:41 +0000
(11:26 +0100)
includes/ui/items_cart.inc
patch
|
blob
|
history
diff --git
a/includes/ui/items_cart.inc
b/includes/ui/items_cart.inc
index 9d7781deec929f42ff7b730b24e2335b5373c165..0e32165b0be23c17dda2b8fc05fcd11cbd26330d 100644
(file)
--- a/
includes/ui/items_cart.inc
+++ b/
includes/ui/items_cart.inc
@@
-101,7
+101,7
@@
class items_cart
$low_stock = array();
- if (!$SysPrefs->allow_negative_stock()
|| is_fixed_asset($line_item->mb_flag)
)
+ if (!$SysPrefs->allow_negative_stock())
{
foreach ($this->line_items as $line_no => $line_item)
if (has_stock_holding($line_item->mb_flag) || is_fixed_asset($line_item->mb_flag))