mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-10 01:51:02 -04:00
Added missing initialization of stock_location model
This commit is contained in:
committed by
Steve Ireland
parent
f0898f3461
commit
f3bd5346ea
@@ -62,6 +62,7 @@ class Reports extends Secure_Controller
|
||||
$method_name = $request->getUri()->getSegment(2);
|
||||
$exploder = explode('_', $method_name);
|
||||
$this->config = config('OSPOS')->settings;
|
||||
$this->stock_location = model('Stock_location');
|
||||
|
||||
if(sizeof($exploder) > 1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user