mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-28 19:10:11 -04:00
Code style adjustments
This commit is contained in:
@@ -29,7 +29,7 @@ class Inventory extends CI_Model
|
||||
$inventory_sums = $this->Inventory->get_inventory_sum($item_id);
|
||||
foreach($inventory_sums as $inventory_sum)
|
||||
{
|
||||
if ($inventory_sum['sum'] > 0)
|
||||
if($inventory_sum['sum'] > 0)
|
||||
{
|
||||
return $this->Inventory->insert(array(
|
||||
'trans_inventory' => -1 * $inventory_sum['sum'],
|
||||
|
||||
Reference in New Issue
Block a user