Skip to content

Commit

Permalink
Remove deleted stock locations from low inventory report (#916)
Browse files Browse the repository at this point in the history
  • Loading branch information
daN4cat committed Oct 21, 2016
1 parent d2e21e1 commit dd66496
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion UPGRADE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ How to Upgrade
8. Take the saved old database.php and change the new database.php to contain all the configuration you had in the old setup.
Please try not to use the old layout, use the new one and just copy the content of the config variables
9. Once new code is in place, database is updated and config files are sorted you are good to start the new OSPOS
10. If any issue please check GitHub issues as somebody else might have had your problem already or post a question
10. If any issue please check FAQ and/or GitHub issues as somebody else might have had your problem already or post a question
2 changes: 1 addition & 1 deletion application/libraries/Tracking_lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function __construct()
)
);

$this->tracking = new \Racecore\GATracking\GATracking('UA-82359828-1', $options);
$this->tracking = new \Racecore\GATracking\GATracking('UA-82359828-2', $options);

if(empty($clientId))
{
Expand Down
2 changes: 1 addition & 1 deletion application/models/Item.php
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ public function create_temp_table()
ON items.item_id = item_quantities.item_id
INNER JOIN ' . $this->db->dbprefix('stock_locations') . ' AS stock_locations
ON item_quantities.location_id = stock_locations.location_id
WHERE items.deleted = 0
WHERE items.deleted = 0 AND stock_locations.deleted = 0
)'
);
}
Expand Down

0 comments on commit dd66496

Please sign in to comment.