First draft for printable location content sheets (references #341)

This commit is contained in:
Bernd Bestel
2019-08-10 16:34:29 +02:00
parent d6e9dc1b59
commit 28716ed96c
6 changed files with 91 additions and 0 deletions

View File

@@ -262,4 +262,14 @@ class StockController extends BaseController
'quantityunits' => $this->Database->quantity_units()->orderBy('name')
]);
}
public function LocationContentSheet(\Slim\Http\Request $request, \Slim\Http\Response $response, array $args)
{
return $this->AppContainer->view->render($response, 'locationcontentsheet', [
'products' => $this->Database->products()->orderBy('name'),
'quantityunits' => $this->Database->quantity_units()->orderBy('name'),
'locations' => $this->Database->locations()->orderBy('name'),
'currentStockLocationContent' => $this->StockService->GetCurrentStockLocationContent()
]);
}
}