mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-13 05:39:33 +00:00
Anpassungen aus Analyse vornehmen
Name Validierung bei Assembly Angabe in Stücklisten anpassen. permission_layout.html hinsichtlich Synonym-Ausgabe Datenquelle anpassen. Anpassung aus Analyse.
This commit is contained in:
parent
6976ab0cc2
commit
67480f2652
5 changed files with 22 additions and 11 deletions
|
|
@ -127,6 +127,8 @@ class AssemblyBomEntriesDataTable implements DataTableTypeInterface
|
|||
'render' => function ($value, AssemblyBOMEntry $context) {
|
||||
if($context->getPart() instanceof Part) {
|
||||
return $context->getPart()->getIpn();
|
||||
} elseif($context->getReferencedAssembly() instanceof Assembly) {
|
||||
return $context->getReferencedAssembly()->getIpn();
|
||||
}
|
||||
|
||||
return '';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue