@php use App\Support\Money; use App\Support\PdfText; @endphp @extends('pdf.layout') @section('content') @forelse ($lignes as $ligne) @empty @endforelse
Date Compte Catégorie Tiers Libellé HT TVA Entrée Sortie
{{ $ligne->date?->format('d/m/Y') }} {{ $ligne->account?->name ?? \App\Domaines\Comptabilite\Modeles\Transaction::HORS_COMPTE }} {{ $ligne->category?->name ?? '—' }} {{ PdfText::clean($ligne->tier?->name ?? $ligne->tier_label) ?: '—' }} {{ PdfText::clean($ligne->note) ?: '—' }} {{ Money::format($ligne->amount_ht, false) }} {{ Money::format($ligne->vat_amount, false) }} {{ $ligne->direction === 'entree' ? Money::format($ligne->amount_ttc, false) : '' }} {{ $ligne->direction === 'sortie' ? Money::format($ligne->amount_ttc, false) : '' }}
Aucune opération sur la période.
TOTAL — {{ $lignes->count() }} opération(s) — net : {{ Money::format($totaux['entrees'] - $totaux['sorties']) }} {{ Money::format($totaux['entrees'], false) }} {{ Money::format($totaux['sorties'], false) }}
@endsection