@extends('layout.admin_layout') @section('title', 'admin-dashboard') @php $user_type = ''; if(Request::segment(3) == 2){ $user_type = 'Service Provider'; }elseif(Request::segment(3) == 1){ $user_type = 'Customer'; } @endphp @section('body') @section('header', $user_type) @section('badge') @endsection

{{$user_type}} List

@csrf
{{-- --}}
{{-- --}} {{-- --}}
{{-- New --}}
@if ($type == 2) @php $b_cat_li = buisnessCategoryListArray(); @endphp @endif @if ($type == 2) @endif @forelse ($users as $user) {{-- --}} @if ($type == 2) @endif @if ($type == 2) @endif @empty @endforelse
# NoBusiness Type Business Name{{ ($type == 2)? 'Contacts':'Name' }} Email Phone ImageVerifiedAction
{{-- --}}
{{-- @if (!empty($user->profile->business_type)) @php // dd($b_cat_li); $business_types = explode(",",$user->profile->business_type); $str = ''; $key = 0; foreach ($business_types as $business_type) { if($key){ $str .= ' & '; } $str .= $b_cat_li[$business_type]; $key++; } // dd($str); @endphp {{ $str }} @endif --}} @foreach ($user->business_types as $business_types) {{ $business_types->name }} @if($loop->count>1) @if ($loop->count != $loop->iteration) & @endif @endif @endforeach {{ $user->business_name }}{{ $user->name }} {{ $user->email }} {{ $user->mobile }}
{{ ($user->status == 1)? 'Active':'Inactive' }} {{-- --}}
No data found.
@endsection @push('scripts') {{-- --}} @endpush