@extends('layouts.admin-main') @section('content')
@foreach ($users as $key => $user) is_active) class="inactive" @endif> @endforeach
# {{ __('message.name') }} {{ __('message.role') }} {{ __('message.phone') }} {{ __('message.gender') }} {{ __('message.invitation code') }} {{ __('message.status') }} {{ __('message.created date') }} {{ __('message.action') }}
{{ ++$i }} {{ $user->name }} @if (!empty($user->getRoleNames())) @foreach ($user->getRoleNames() as $v) @endforeach @endif {{ $user->phone }} {{ $user->gender }} {{ $user->invitationCode->code??'' }} @if ($user->is_active) Active @else Inactive @endif {{ $user->created_at->format('d/m/Y H:i') }} @if ($user->is_active) {{ __('message.deactivate') }} @else {{ __('message.activate') }} @endif @if ($user->is_active) {{ __('message.change password') }} @endif
{{ $users->appends($_GET)->links()}}
@endsection @section('scripts') @endsection @section('meta') {{__('message.user list')}} - {{ config('app.name', 'Dashboard') }} @endsection