@if(!empty($operations) && count($operations) > 0 ) @php $tl = 0; $euro = 0; $usd = 0; @endphp @foreach($operations as $operation) {{ $operation->subject }} {{ $operation->steps }} {{ $operation->operator }} {{ \Carbon\Carbon::parse($operation->operation_date)->format('d-m-Y H:i:s') }} {{ number_format($operation->price,2,',','') }}{{ $operation->current }} {{ $operation->note }} @php if ($operation->current == "TL"){ $tl += $operation->price; } elseif ($operation->current == "EURO"){ $euro += $operation->price; } elseif ($operation->current == "USD"){ $usd += $operation->price; } @endphp @endforeach Toplam {{ number_format($tl,2,',','') }} TL
Toplam {{ number_format($euro,2,',','') }} EURO
Toplam {{ number_format($usd,2,',','') }} USD
@else Kayıt Bulunmadı... @endif