Change Sale Overview to become a daily takings view with totals.

This commit is contained in:
FrancescoUK committed 2015-09-01 23:37:26 +01:00
1 parent 3e24b9caff
commit c88f37f8e7
6 files changed
+255 -216

No files matched your search

+2 -2
View File
@@ -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;
}