mirror of
https://github.com/grocy/grocy.git
synced 2025-08-16 18:54:35 +00:00
Stock-Journal: API, Summary, Done By (#989)
* Stockjournal: Add "Done by" * Add API for Stock-Journal * Add "Journal-Summary" * Use ALTER TABLE * Moved the "Jounral summary" button to the stock journal page * Changed icon & context menu position for new stock journal summary page Co-authored-by: Bernd Bestel <bernd@berrnd.de>
This commit is contained in:
committed by
GitHub
parent
7498d8f13d
commit
0454c128f0
@@ -715,6 +715,16 @@ class StockApiController extends BaseApiController
|
||||
}
|
||||
}
|
||||
|
||||
public function Journal(\Psr\Http\Message\ServerRequestInterface $request, \Psr\Http\Message\ResponseInterface $response, array $args)
|
||||
{
|
||||
return $this->FilteredApiResponse($response, $this->getDatabase()->uihelper_stock_journal(), $request->getQueryParams());
|
||||
}
|
||||
|
||||
public function JournalSummary(\Psr\Http\Message\ServerRequestInterface $request, \Psr\Http\Message\ResponseInterface $response, array $args)
|
||||
{
|
||||
return $this->FilteredApiResponse($response, $this->getDatabase()->uihelper_stock_journal_summary(), $request->getQueryParams());
|
||||
}
|
||||
|
||||
public function __construct(\DI\Container $container)
|
||||
{
|
||||
parent::__construct($container);
|
||||
|
Reference in New Issue
Block a user