@extends('admin.layout.app') @section('content')
@php $i=1; @endphp @foreach($users as $user) @if($user->status == '1') @else @endif @endforeach
ID Name Status Actions
{{ $i++ }} {{ $user->name }}ActiveInactive
Edit
{{ $users->links() }}
@endsection @section('script') @endsection