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