@extends('layouts.num-app') @section('content') @if (auth()->user()->agent_code != 'ARF')
{{-- --}} {{--
--}} {{--
--}} {{--
  • Logout --}} Logout ({{auth()->user()->name}})
  • @else
    {{--
    --}} {{--
    --}} {{--
  • Logout --}} Logout ({{auth()->user()->name}})
  • @endif

    Reserved Number List

    @if (auth()->user()->agent_code == 'ARF')
    @foreach ($data as $item) @endforeach
    Number Agent Name Passcode Type Date Action
    {{$item->number}} {{$item->name}} {{$item->passcode}} {{\Carbon\Carbon::createFromTimeStamp(strtotime($item->datetime))->diffForHumans()}} {{-- {{$item->created_at}} --}} {{$item->type}} Revive Remove
    @else
    @foreach ($data as $item) @endforeach
    Number Agent Name Agent Group Passcode Date Type Action
    {{$item->number}} {{$item->name}} {{$item->UserAgentGroup}} {{$item->passcode}} {{\Carbon\Carbon::createFromTimeStamp(strtotime($item->datetime))->diffForHumans()}} {{-- {{$item->created_at}} --}} {{$item->type}} Active
    @endif @endsection