X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fui%2Fitems_cart.inc;h=0e32165b0be23c17dda2b8fc05fcd11cbd26330d;hb=f478231ee53d429047979736dafda1db9e6fcd72;hp=9d7781deec929f42ff7b730b24e2335b5373c165;hpb=f9dd78a24383c61eaed49836155d673cb2f913ca;p=fa-stable.git diff --git a/includes/ui/items_cart.inc b/includes/ui/items_cart.inc index 9d7781de..0e32165b 100644 --- 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))