mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-26 12:09:34 +00:00
Added low-stock part listing.
This commit is contained in:
parent
226fe2f4ba
commit
0dd95da8de
4 changed files with 47 additions and 1 deletions
|
|
@ -245,6 +245,11 @@ class ToolsTreeBuilder
|
|||
$this->urlGenerator->generate('parts_show_all')
|
||||
);
|
||||
|
||||
$show_nodes[] = new TreeViewNode(
|
||||
$this->translator->trans('tree.tools.show.low_stock_parts'),
|
||||
$this->urlGenerator->generate('parts_show_low_stock')
|
||||
);
|
||||
|
||||
if ($this->security->isGranted('read', new PartAttachment())) {
|
||||
$show_nodes[] = new TreeViewNode(
|
||||
$this->translator->trans('tree.tools.show.all_attachments'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue