@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 Mobile Money N° Téléphone Description de l'opération Montant
{{$i}} {{$operation->compteId}} {{mb_strtoupper(substr($transactions[$operation->compteId],0,30), 'utf8')}} {{$operation->codeAnal}} @php $text_mobile = 'text-orange-600'; if($operation->mobile == '34'){ $text_mobile = 'text-green-600'; } if($operation->mobile == '33'){ $text_mobile = 'text-red-500'; } @endphp {{key_exists($operation->mobile, $mobiles)?$mobiles[$operation->mobile]:''}} {{$operation->phone}} {{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é