@extends('dashboard.dashboard_layouts.dashboard_master') @section('admin_dashboard_title') Service Provider @endsection @section('admin_dashboard_css') @endsection @section('admin_dashboard_content')

Service Provider

@php $status_array = ['Pending', 'Inactive', 'Active']; $badge_array = ['bg-warning', 'bg-danger', 'bg-success']; @endphp
@if(count($users) > 0) @foreach($users as $user)

{{ ucwords($user->first_name) }} {{ $user->last_name }} {{-- @if ($role->hasPermissionTo('clients show')) --}} {{-- @endif --}}

   
{{ $status_array[$user->status] }}

{{ $user->created_at->format('M d Y') }}

User Avatar
@endforeach
{{ $users->render("pagination::bootstrap-4") }}
@else

No Service Provider Found

@endif
@endsection @section('admin_dashboard_script') @endsection