@foreach ($histories as $key => $history) @endforeach
Date Description Débit Crédit Solde
{{ date('d/m/Y', strtotime($history->created_at)) }} {{ $history->description }} {{ $history->type == "DEBIT" ? number_format($history->amountTotal, 2, ',', ' ')." ". $history->currency_symbol : '-' }} {{ $history->type == "CREDIT" ? number_format($history->amountTotal, 2, ',', ' ')." ". $history->currency_symbol : '-' }} {{ number_format($history->solde, 2, ',', ' ') }} {{ $history->currency_symbol }}