@php $sum_achat = 0; $i = 0; @endphp @if(count($operations)>0) @foreach ($operations as $operation) @php $i++; $sum_achat += $operation->montant; @endphp @endforeach @else @endif
# N° Compte Libellé Code Description de l'opération Montant
{{$i}} {{$operation->compteId}} @if(key_exists($operation->compteId, $listeComptes)) {{mb_strtoupper(substr($listeComptes[$operation->compteId],0,30), 'utf8')}} @else {{$operation->compteId}} @endif {{$operation->codeAnal}} {{substr($operation->libelle,0,30)}} {{App\Lib\Format::number($operation->montant)}}
TOTAL {{App\Lib\Format::number($sum_achat)}}
Aucun compte n'a été sélectionné