@foreach($data as $idx => $value) @endforeach
Sl Month Total Amount
{{$idx+1}} {{$value->month}} {{number_format($value->total_amount, 2)}}