mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-10-23 08:38:37 -04:00
Change Sale Overview to become a daily takings view with totals.
This commit is contained in:
1 parent
3e24b9caff
commit
c88f37f8e7
6 files changed
+255
-216
No files matched your search
@@ -333,9 +333,9 @@ class Sale_lib
|
||||
|
||||
//$item = $this->CI->Item->get_info($item_id);
|
||||
$item_quantity = $this->CI->Item_quantities->get_item_quantity($item_id,$item_location)->quantity;
|
||||
$quanity_added = $this->get_quantity_already_added($item_id,$item_location);
|
||||
$quantity_added = $this->get_quantity_already_added($item_id,$item_location);
|
||||
|
||||
if ($item_quantity - $quanity_added < 0)
|
||||
if ($item_quantity - $quantity_added < 0)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user