Payout Preview Report
{{ date('F Y', mktime(0, 0, 0, $month, 1)) }}
#
Branch
Staff Count
Payout
@foreach($data as $i => $item)
{{ $i + 1 }}
{{ $item['branch'] }}
{{ $item['staff_count'] }}
₹ {{ number_format($item['payout'], 2) }}
@endforeach
Total
{{ $data->sum('staff_count') }}
₹ {{ number_format($data->sum('payout'), 2) }}