mirror of
https://github.com/grocy/grocy.git
synced 2025-08-15 02:04:38 +00:00
Make it possible to provide a different location for added product during inventory (closes #183)
This commit is contained in:
@@ -48,7 +48,8 @@ class StockController extends BaseController
|
||||
public function Inventory(\Slim\Http\Request $request, \Slim\Http\Response $response, array $args)
|
||||
{
|
||||
return $this->AppContainer->view->render($response, 'inventory', [
|
||||
'products' => $this->Database->products()->orderBy('name')
|
||||
'products' => $this->Database->products()->orderBy('name'),
|
||||
'locations' => $this->Database->locations()->orderBy('name')
|
||||
]);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user