@extends('admin.layout.master') @section('content') @if (session()->has('success'))
{{ session()->get('success') }}
@endif

Total Request

{{-- Add class .table-bordered --}}

@if (!empty($userslist)) @foreach ($userslist as $key => $user) @endforeach @else Data Not Found @endif
S.no. Name Email Phone Type Status Enable/Disable Action
{{ $key + 1 }} {{ ucwords($user->name) }} {{ $user->email }} {{ $user->phone }} {{ $user->type == 1 ? 'Saloon' : ($user->type == 2 ? 'Artist' : 'Unknown Type') }} @if ($user->status === null) Approve Decline @elseif ($user->status == 1) Approved @else Declined @endif status === 1 ? 'checked' : '' }} onclick="userAction('{{$user->id}}', this, '{{$user->status}}')"> {{-- Edit --}} Delete
@endsection