@if ($logo)Mobdie@endif
{{ setting('societe.raison_sociale') }}
ICE {{ setting('societe.ice') }} — RC {{ setting('societe.rc') }} — TP {{ setting('societe.tp') }}
{{ setting('societe.siege') }}
{{ setting('societe.email_domiciliation') }}

{{ $type }}

N° {{ $doc->numero }}
Date : {{ $doc->date->format('d/m/Y') }}
@if ($echeanceLabel)
{{ $echeanceLabel }}
@endif
Client
{{ $doc->client_nom }} @if ($doc->client?->ice)
ICE : {{ $doc->client->ice }}@endif
@foreach ($doc->lines as $ligne) @endforeach
Désignation Qté P.U. HT TVA Total HT
{{ $ligne->designation }} {{ rtrim(rtrim(number_format($ligne->quantite, 2, ',', ' '), '0'), ',') }} {{ number_format($ligne->prix_unitaire_ht, 2, ',', ' ') }} {{ rtrim(rtrim(number_format($ligne->taux_tva, 2, ',', ' '), '0'), ',') }} % {{ number_format($ligne->total_ht, 2, ',', ' ') }}
@if (($doc->retenue_source ?? 0) > 0) @endif
Total HT{{ number_format($doc->total_ht, 2, ',', ' ') }} DH
TVA{{ number_format($doc->total_tva, 2, ',', ' ') }} DH
Retenue à la source− {{ number_format($doc->retenue_source, 2, ',', ' ') }} DH
Total TTC{{ number_format($doc->total_ttc, 2, ',', ' ') }} DH
Arrêté{{ $type === 'FACTURE' ? 'e la présente facture' : ' le présent devis' }} à la somme de {{ $montantLettres }}.
@if ($cachet && $cachetImg)
Cachet
@endif
{{ setting('societe.raison_sociale') }} — {{ setting('societe.email') }} — Merci de votre confiance.