@extends('layouts.admin') @section('title', ucwords($type) . ' ' . get_phrase('lists')) @section('admin_layout')
@if (count($users)) @php $num = 1 @endphp @foreach ($users as $user) @endforeach
{{ get_phrase('ID') }} {{ get_phrase('Image') }} {{ get_phrase('Name') }} {{ get_phrase('Email') }} {{ get_phrase('Status') }} {{ get_phrase('Verified') }} {{ get_phrase('Action') }}
{{ $num++ }} {{ $user->name }} {{ $user->email }} @if ($user->status == 1) {{ get_phrase('Active') }} @elseif($user->status == 2) {{ get_phrase('Inactive') }} @else {{ get_phrase('Blocked') }} @endif @if ($user->email_verified_at) {{ get_phrase('Verified') }} @else {{ get_phrase('Not Verified') }} @endif
@else @include('layouts.no_data_found') @endif
@endsection