@foreach ($records as $index => $record) @endforeach
S.No Start Date End Date Credit Points Used Points Balance Points
{{ $index + 1 }} {{ $record->start_date }} {{ $record->end_date }} {{ $record->credit_points }} {{ $record->used_points }} {{ $record->balance_points }}