mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-11 05:29:30 +00:00
new handheld scanner function
This commit is contained in:
parent
b3499e4ea5
commit
d4b9ca3bc1
7 changed files with 861 additions and 0 deletions
|
|
@ -140,6 +140,13 @@ class ToolsTreeBuilder
|
|||
))->setIcon('fa-treeview fa-fw fa-solid fa-cloud-arrow-down');
|
||||
}
|
||||
|
||||
if ($this->security->isGranted('@info_providers.create_parts')) {
|
||||
$nodes[] = (new TreeViewNode(
|
||||
"Handheld Scanner",
|
||||
$this->urlGenerator->generate('handheld_scanner_dialog')
|
||||
))->setIcon('fa-treeview fa-fw fa-solid fa-camera-retro');
|
||||
}
|
||||
|
||||
return $nodes;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue