mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
Allow to show parts in a storelocation or an supplier.
This commit is contained in:
parent
748905c325
commit
31e89e2e36
8 changed files with 107 additions and 6 deletions
|
@ -99,7 +99,7 @@ class TreeController extends AbstractController
|
|||
if ($location !== null) {
|
||||
$tree[] = $builder->elementToTreeNode($location);
|
||||
} else {
|
||||
$tree = $builder->typeToTree(Storelocation::class, null);
|
||||
$tree = $builder->typeToTree(Storelocation::class);
|
||||
}
|
||||
|
||||
|
||||
|
@ -131,7 +131,7 @@ class TreeController extends AbstractController
|
|||
if ($supplier !== null) {
|
||||
$tree[] = $builder->elementToTreeNode($supplier);
|
||||
} else {
|
||||
$tree = $builder->typeToTree(Supplier::class, null);
|
||||
$tree = $builder->typeToTree(Supplier::class);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue