@php use App\Support\Money; @endphp @extends('pdf.layout') @section('content')
| Date | Compte | Libellé | Catégorie | Marché | Entrée | Sortie |
|---|---|---|---|---|---|---|
| {{ $tx->date?->format('d/m/Y') }} | {{ $tx->account?->name ?? '—' }} | {{ $tx->label }} | {{ $tx->category?->name ?? '—' }} | {{ $tx->project?->libelle() ?? '—' }} | {{ $tx->direction === \App\Enums\TransactionDirection::In ? Money::format($tx->amount_ttc) : '' }} | {{ $tx->direction === \App\Enums\TransactionDirection::Out ? Money::format($tx->amount_ttc) : '' }} |
| Aucune opération sur la période. | ||||||
| TOTAL ({{ $rows->count() }} opération(s)) — net : {{ Money::format($totals['net']) }} | {{ Money::format($totals['in']) }} | {{ Money::format($totals['out']) }} | ||||