{{--
Total Row: {{ $list->count() }}
Total Amount {{ $list->sum('amount') }} TK
@can('show_commission_reseller_balance_log')
Total Manager Miscellaneous Expense {{ $list->sum('commission') }} TK
@endcan
--}}
@php $total = 0; @endphp @forelse ($list as $item) @empty @endforelse
# Reseller Name Total Amount
{{ $loop->iteration }} {{ $item->reseller->name ?? 'N/A' }} @php $total += $item->total_amount @endphp {{ number_format($item->total_amount, 2) }}
Total: {{ number_format($total, 2) }}