Payout Preview Report

{{ date('F Y', mktime(0, 0, 0, $month, 1)) }}

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