@php $i=1 @endphp @foreach( $districts as $item) @php $i++ @endphp @endforeach
ID District Name Country Name Status Action
{{$i}} {{$item->name}} {{$item->country->name}} @if( $item->status == 1) Active @else In-Active @endif
{{$districts->links()}}