@extends('admin.layouts.app') @push('libraries_top') @endpush @section('content')

{{ $pageTitle }}

@foreach($users as $user) @endforeach
{{ trans('admin/main.id') }} {{ trans('admin/main.name') }} {{ trans('admin/main.role_name') }} {{ trans('admin/main.register_date') }} {{ trans('admin/main.status') }} {{ trans('admin/main.actions') }}
{{ $user->id }}
{{ $user->full_name }}
{{ $user->full_name }}
@if($user->mobile)
{{ $user->mobile }}
@endif @if($user->email)
{{ $user->email }}
@endif
{{ $user->role->caption }} {{ dateTimeFormat($user->created_at, 'j M Y | H:i') }}
@if($user->ban and !empty($user->ban_end_at) and $user->ban_end_at > time())
{{ trans('admin/main.ban') }}
Until {{ dateTimeFormat($user->ban_end_at, 'Y/m/j') }}
@else
{{ trans('admin/main.'.$user->status) }}
({{ trans('public.'.($user->verified ? 'verified' : 'not_verified')) }})
@endif
@can('admin_users_edit') @endcan @can('admin_users_delete') @include('admin.includes.delete_button',['url' => getAdminPanelUrl().'/users/'.$user->id.'/delete' , 'btnClass' => '', 'deleteConfirmMsg' => trans('update.user_delete_confirm_msg')]) @endcan
@endsection @push('scripts_bottom') @endpush