@php $total_buy = $total_sell = 0; @endphp @forelse($aum_bnc as $key => $aum) @php $aum = collect($aum)->toArray(); $total_buy += $aum['total_buy']; $total_sell += $aum['total_sell']; @endphp @empty @endforelse
Periode Data Saldo Awal Total Buy Total Sell Saldo Akhir
{{ $aum['periode_data'] }} {{ number_format($aum['saldo_awal'], 4, '.', ',') }} {{ number_format($aum['total_buy'], 4, '.', ',') }} {{ number_format($aum['total_sell'], 4, '.', ',') }} {{ number_format($aum['saldo_akhir'], 4, '.', ',') }}
No data
TOTAL {{ number_format($total_buy, 4, '.', ',') }} {{ number_format($total_sell, 4, '.', ',') }}