Logo de l\'entreprise
LISTE DES RISTOURNES CLIENTS
Période du {{ $periode }}
Client : {{ $NomClient }}
@php if(count($table) != $nbreLigneTT){ @endphp
{{count($table)}} / {{$nbreLigneTT}} sélectionnées
@php } @endphp
@php $nbreLigne = 0; $ttBaseHTReleveRistourneClient = 0; $ttTauxRistourneClient = 0; $ttMontantHTRistourneClient = 0; $ttMontantRetenueLegale = 0; $ttMontantTTCRistourneClient = 0; $ttRetenueLegaleRistourneClient = 0; @endphp @php foreach($table as $ligne){ @endphp @php $nbreLigne ++; $ttBaseHTReleveRistourneClient += $ligne['BaseHTReleveRistourneClient']; $ttTauxRistourneClient += $ligne['TauxRistourneClient']; $ttMontantHTRistourneClient += $ligne['MontantHTRistourneClient']; $ttRetenueLegaleRistourneClient += $ligne['RetenueLegaleRistourneClient']; $ttMontantRetenueLegale += $ligne['MontantRetenueLegale']; $ttMontantTTCRistourneClient += $ligne['MontantTTCRistourneClient']; } @endphp
Date Mois Client Base
Remise HT
Taux
Ristourne
Total
Ristourne HT
Taux
Retenue
Montant
Retenue
Montant
Ristourne TTC
{{ $ligne['DateRistourneClientFormat'] }} {{ $ligne['moisDateComptable'] }} {{ $ligne['NomClient'] }} {{ $ligne['BaseHTReleveRistourneClientFormat'] }} {{ $ligne['TauxRistourneClientFormat'] }} {{ $ligne['MontantHTRistourneClientFormat'] }} {{ $ligne['RetenueLegaleRistourneClientFormat'] }} {{ $ligne['MontantRetenueLegaleFormat'] }} {{ $ligne['MontantTTCRistourneClientFormat'] }}
Nbre de Ristournes : {{ $nbreLigne }} TOTAL : {{ formatNumerique($ttBaseHTReleveRistourneClient) }} {{ formatNumerique($nbreLigne > 0 ? ($ttTauxRistourneClient/$nbreLigne) : 0) }} % {{ formatNumerique($ttMontantHTRistourneClient) }} {{ formatNumerique($nbreLigne > 0 ? ($ttRetenueLegaleRistourneClient/$nbreLigne) : 0) }} % {{ formatNumerique($ttMontantRetenueLegale) }} {{ formatNumerique($ttMontantTTCRistourneClient) }}
@php @endphp