@props(['simulation', 'title' => null, 'titleAlign' => 'left', 'subtitle' => null, 'bgWhite' => true, 'breakBefore' => false]) @php $project = null; if ($simulation->projects->count() === 1) { $project = $simulation->projects->first(); } @endphp
$breakBefore, 'w-full h-[795px] flex flex-col justify-between gap-4 bg-bottom bg-cover']) style="background-image: url('{{ public_path($bgWhite ? 'pdf_assets/report-bg-white.png' : 'pdf_assets/report-bg.png') }}')">
@if($simulation->company->logo) company->logo) }}" class="max-h-[55px]" /> @endif

{{ $simulation->company->name }}

@if($title)

{{ $title }}

@endif @if($subtitle)

{{ $subtitle }}

@endif
{{ $slot }}
@php $revisionNumber = ($simulation ?? null)?->report_revision_number; @endphp

Project Review Summary - {{ $revisionNumber ? 'Rev '.$revisionNumber.' del '.optional($simulation->report_revision_date)->format('d/m/Y') : 'Rev xx del xx' }}{{ ($project ?? null) ? ' - '.$project->name : '' }}

@if($project ?? null)

STATO: {{ $project->status->label() }}

@endif