@if($logo) @endif

{{ strtoupper($company->name) }}

{{ $company->address }}

Tél : {{ $company->tel }}
{{ $company->tel2 }}

Email : {{ $company->email ?? '-' }}

FACTURE

Référence : {{ $invoice->reference }}

Client : {{ $invoice->client->name }} Date : {{ \Carbon\Carbon::parse($invoice->date)->format('d/m/Y') }}
Téléphone : {{ $invoice->client->phone }} Adresse : {{ $invoice->client->address, }} {{ $invoice->client->ville, }}

Détails facture

@foreach($invoice->details as $detail) @endforeach
Produit Immatriculation Quantité Prix Montant
{{ $detail->product }} {{ $detail->immatriculation }} {{ $detail->quantity }} {{ number_format($detail->price, 0, '.', ' ') }} FCFA {{ number_format($detail->amount, 0, '.', ' ') }} FCFA
Total facture {{ number_format($invoice->amount->amount, 0, '.', ' ') }} FCFA
Payé {{ number_format($invoice->amount->paid, 0, '.', ' ') }} FCFA
Reste {{ number_format($invoice->amount->remaining, 0, '.', ' ') }} FCFA
Le client {{ $company->name ?? 'Le responsable' }}