{{ $company->name ?? 'Entreprise' }}

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

{{ $company->phone ?? '' }}

{{ $company->address ?? '' }}

{{ $documentType }}

@if($title)

{{ $title }}

@endif

Réf: {{ $reference }}

Date: {{ $date }}

NIF: {{ $company->nif ?? '-' }}

RCCM: {{ $company->rccm ?? '-' }}

CLIENT

{{ $customer->name ?? 'N/A' }}

{{ $customer->address ?? 'Lomé - Togo' }}

Tél: {{ $customer->phone ?? 'N/A' }}

@if($customer->phone2)

Tél 2: {{ $customer->phone2 }}

@endif @if($customer->email)

Email: {{ $customer->email }}

@endif
@php $calculatedHT = 0; @endphp @if($lines && $lines->count() > 0) @foreach($lines as $line) @php $unitPrice = $line->unit_price ?? 0; $qty = $line->quantity ?? 1; $lineTotal = $unitPrice * $qty; $calculatedHT += $lineTotal; @endphp @endforeach @else @php $calculatedHT = $amount_ht; @endphp @endif @php $calculatedTax = $calculatedHT * 0.18; $calculatedTTC = $calculatedHT + $calculatedTax; @endphp @if(isset($amount_paid) && $amount_paid > 0) @endif
Désignation Coût Unitaire Quantité Total
{!! strip_tags($line->description, '
') !!}
{{ number_format($unitPrice, 0, ',', ' ') }} FCFA {{ $qty }} {{ number_format($lineTotal, 0, ',', ' ') }} FCFA
{{ $title ?? 'Prestation' }} {{ number_format($amount_ht, 0, ',', ' ') }} FCFA 1 {{ number_format($amount_ht, 0, ',', ' ') }} FCFA
Montant HT {{ number_format($calculatedHT, 0, ',', ' ') }} FCFA
TVA 18% {{ number_format($calculatedTax, 0, ',', ' ') }} FCFA
MONTANT TTC {{ number_format($calculatedTTC, 0, ',', ' ') }} FCFA
Déjà Payé {{ number_format($amount_paid, 0, ',', ' ') }} FCFA
Solde Dû {{ number_format($calculatedTTC - $amount_paid, 0, ',', ' ') }} FCFA

Moyens de paiement :

  • Virement bancaire
  • Espèces
  • Chèque

Informations de paiement :

@if($company->bank_name)

Banque: {{ $company->bank_name }}
@if($company->bank_account_name) Compte: {{ $company->bank_account_name }}
@endif @if($company->bank_rib) RIB: {{ $company->bank_rib }} @endif

@endif

{{ $company->director_name ?? 'Directeur' }}

{{ $company->director_title ?? 'Signataire autorisé' }}