@extends('admin.layouts.layout') @section('content')

{{ $module }}

@if($permission['create']) Add New @endif @if(isset($filters) && !empty($filters)) @endif
@include('admin.components.filter-form')
@if($permission['edit'] || $permission['destroy']) @endif @foreach ($data as $key => $val) @if($permission['edit'] || $permission['destroy']) @endif @endforeach @if(count($data) == 0) @endif
Name Contact Role Status Created AtAction
{!! \App\Helpers\Helper::genLogo($val->avatar, $val, 'xs', 'rounded-circle') !!} {{ $val->full_name }} Email: {{ $val->email }} {{ $val->role_title }} {!! $val->statuses[$val->status]['name'] !!} {{ \App\Helpers\Helper::showDate($val->created_at) }} @if($permission['edit']) @endif @if($permission['destroy'] && $val->id != auth()->user()->id) {!! html()->form('DELETE', route( $routePrefix . '.destroy', $val->id ))->attributes([ 'style' => 'display:inline', 'id' => 'delete-form-' . $val->id ])->open() !!} {!! html()->form()->close() !!} @endif
No Data
@include('admin.components.pagination') @endsection