@foreach($teachers as $teacher) @php($sl = $loop->iteration) @endforeach
Sl Name Designation Mobile Email Status Option
{{ $sl }} {{ $teacher->name }} {{ $teacher->designation->name }} {{ $teacher->mobile }} {{ $teacher->email }} {{ $teacher->status==1?'Active':'Close' }} Schedule Detail {{-- --}} {{-- --}} {{-- --}} {{-- --}}