@extends('backend.admin-master') @section('style') @include('backend.partials.datatable.style-enqueue') @endsection @section('site-title') {{__('All Admins')}} @endsection @section('content')
@include('backend/partials/message') @include('backend/partials/error')

{{__('All Admin Created By Super Admin')}}

@foreach($all_user as $data) @endforeach
{{__('ID')}} {{__('Name')}} {{__('Image')}} {{__('Role')}} {{__('Action')}}
{{$data->id}} {{$data->name}} ({{$data->username}}) @php $img = get_attachment_image_by_id($data->image,null,true); @endphp @if (!empty($img))
@php $img_url = $img['img_url']; @endphp @endif
@if(!empty($data->getRoleNames())) @foreach($data->getRoleNames() as $v) {{ $v }} @endforeach @endif {{__("Change Password")}}
@include('backend.partials.media-upload.media-upload-markup') @endsection @section('script') @include('backend.partials.datatable.script-enqueue') @include('backend.partials.media-upload.media-js') @endsection