@extends("layouts.admin.app") @section("page-title") {{__("Dashboard")}} @endSection @section("page-nav-title")
{{__("All Users")}}
{{__("ID")}} | {{__("Employee")}} | {{__("Full Name")}} | {{__("Phone Number ")}} | {{__("Email")}} | {{__("Country")}} | {{__("City")}} | {{--{{__("car")}} | --}} {{--{{__("chassis_number")}} | --}} {{--{{__("type")}} | --}} {{--{{__("have_dashboard")}} | --}}{{__("Provided Section")}} {{-- @if(hasPermissions("admin-role"))--}} @if(hasPermissions("admin-control")) | {{__("Control")}} | @endif {{-- @endif--}}|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{$user->id}} | {{-- @if(hasPermissions('view-uesrs'))--}} @php $providedSection = \App\Models\ProvidedSection::where('user_id', $user->id)->first(); @endphp {{-- @endif--}}{{$providedSection->admin->full_name??'Employee deleted'}} | {{$user->full_name}} | {{$user->phone_number}} | {{$user->email}} | {{$user->country}} | {{$user->city}} | {{--{{$user->car}} | --}} {{--{{$user->chassis_number}} | --}}{{__("Show")}} | @if(hasPermissions("admin-control"))$main_Client->id, "id" => $user->id])}}" class="control-link edit"> @if(hasPermissions("admin-role")) @endif | @endif {{--{{$user->type}} | --}} {{--{{$user->have_dashboard}} | --}} {{----}} {{-- --}} {{-- --}} {{-- $user->id])}}" class="control-link edit">--}} {{-- --}} {{-- | --}}