@extends('layouts.dashboard-app') @section('main-content')

Hello, Welcome {{auth()->user()->name}}

Reserved Number

@role('Admin|superAdmin') All Number Active Number User Wise Number @endrole
@foreach ($data as $k => $item) @endforeach
Agent Name Number Type Channel Type Agent Group Status Action
{{$item->name}} {{$item->number}} {{$item->type}} {{$item->channel_type}} {{$item->agent_group}} {{$item->status}} {{-- {{$item->css}} --}} @if(auth()->user()->role == 'Manager' || auth()->user()->role == 'NumberSuperAdmin' || auth()->user()->role == 'Admin') {{-- @role('Manager|NumberSuperAdmin|Admin') --}} @if ($item->status == 'Reserved' && $item->book_type == '1' || $item->status == 'Hold' && $item->book_type == '1') @elseif($item->status == 'Active') @else @endif @endif {{-- @endrole --}} @role('admin') @if ($item->status == 'Active') @else @endif @if ($item->status == 'Active') @else @endif @endrole
@endsection {{-- @@section('name') --}} {{-- @endsection --}}