@php use App\Support\Money; @endphp @extends('pdf.layout') @section('styles') table.data tr { page-break-inside: avoid; } table.data thead { display: table-header-group; } .sign-table { width: 100%; border-collapse: collapse; margin-top: 36px; page-break-inside: avoid; } .sign-table td { width: 50%; border: 1px solid #e5e7eb; padding: 10px; vertical-align: top; height: 90px; } .sign-table .titre { font-size: 10px; color: #6b7280; text-transform: uppercase; margin-bottom: 4px; } @endsection @section('content')
Note : {{ $report->number }} Bénéficiaire : {{ $report->beneficiaireNom() }} Générée le : {{ $report->created_at?->format('d/m/Y') }}
@foreach ($claims as $claim) @endforeach
Date Libellé Catégorie Marché Montant Justificatif
{{ $claim->date?->format('d/m/Y') }} {{ $claim->label }} {{ $claim->category?->name ?? '—' }} {{ $claim->project?->libelle() ?? '—' }} {{ Money::format($claim->amount) }} {{ $claim->attachment_path ? 'Joint' : '—' }}
Total {{ Money::format($report->total) }}
{{-- Blocs signature : le collaborateur et la gérance signent la version imprimée, qui sera re-téléversée sur la note (état « archivée »). --}}
Le collaborateur — lu et approuvé
{{ $report->beneficiaireNom() }}
La gérance — bon pour règlement
@endsection