mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-13 05:39:33 +00:00
Baugruppen Stückliste um referenzierte Baugruppe erweitern
This commit is contained in:
parent
bdbaab98c5
commit
2cbda93e84
48 changed files with 1202 additions and 149 deletions
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
namespace App\Twig;
|
||||
|
||||
use App\Entity\AssemblySystem\AssemblyBOMEntry;
|
||||
use Twig\Extension\AbstractExtension;
|
||||
use Twig\TwigFunction;
|
||||
|
||||
|
|
@ -14,6 +15,9 @@ class AssemblyTwigExtension extends AbstractExtension
|
|||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* @param AssemblyBOMEntry[] $bomEntries
|
||||
*/
|
||||
public function hasProject(array $bomEntries): bool
|
||||
{
|
||||
foreach ($bomEntries as $entry) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue