@php /** @var \App\Models\ExpenseReport $report */ /** @var array{name: string, legal_name: string, address: ?string, city: ?string, country: ?string, phone: ?string, email: ?string, website: ?string, tax_id: ?string, registration: ?string} $company */ /** @var ?string $managerSignatureDataUri */ /** @var ?string $accountingSignatureDataUri */ $money = static fn ($value): string => \App\Support\MoneyFormatter::format((float) $value, $company['currency'] ?? null); $lines = $report->lines; $location = collect([$company['city'], $company['country']])->filter()->implode(', '); @endphp
| @include('pdf.partials.company-identity', ['company' => $company, 'showName' => true]) |
Note de frais {{ $report->code }} |
| # | Date | Catégorie | Description | Montant |
|---|---|---|---|---|
| {{ $index + 1 }} | {{ $line->spent_at?->format('d/m/Y') ?? '—' }} | {{ $line->category->label() }} | {{ $line->description }} | {{ $money($line->amount) }} |
| Aucune ligne | ||||
| Total | {{ $money($report->total_amount) }} |
|
Manager
{{ $report->managerValidator?->name ?? '……………………' }}
· {{ $report->manager_validated_at?->format('d/m/Y') ?? '………' }}
@if ($managerSignatureDataUri)
Signature
@endif
|
Comptabilité
{{ $report->accountingValidator?->name ?? '……………………' }}
· {{ $report->accounting_validated_at?->format('d/m/Y') ?? '………' }}
@if ($accountingSignatureDataUri)
Signature
@endif
|