└── 🛠️ {{ $component->name }}
— Primary System
@foreach ($subComponents->where('equipment_component_id', $component->id) as $subComponent)
└── 🛠️ {{ $subComponent->name }}
— Sub-Primary System
@foreach ($parts->where('component_part_id', $subComponent->id) as $part)
- ⚙️ {{ $part->name }} — Secondary System
@endforeach
@if ($parts->where('component_part_id', $subComponent->id)->isEmpty())
- No Secondary System
@endif
@endforeach
@if ($subComponents->where('equipment_component_id', $component->id)->isEmpty())
No Sub-Primary System
@endif