@php /** @var list> $tree */ /** @var array{total: int, roots: int, synthetic: int} $stats */ /** @var array{name: string, legal_name: string, address: ?string, city: ?string, country: ?string, phone: ?string, email: ?string} $company */ /** @var string $exportedAt */ $location = collect([$company['city'] ?? null, $company['country'] ?? null])->filter()->implode(', '); @endphp Organigramme
@include('pdf.partials.company-identity', ['company' => $company, 'showName' => true])

Organigramme

{{ $stats['total'] }} nœud(s) · {{ $stats['roots'] }} racine(s) @if ($stats['synthetic'] > 0) · {{ $stats['synthetic'] }} manager(s) sans fiche collaborateur @endif · Exporté le {{ $exportedAt }}

@if ($tree === [])

Aucun collaborateur actif à afficher.

@else @include('pdf.partials.organization-chart-branch', [ 'nodes' => $tree, 'depth' => 0, ]) @endif