@if (auth()->user()->agent_code == 'ARF')
{{-- --}} @foreach ($data as $item) @endforeach
Number TypeAction
{{$item->number}} {{$item->type}}
@else
@foreach ($data as $item) @endforeach
Name Number Type Agent Group Action
{{$item->name}} {{$item->number}} {{$item->type}} {{$item->agent_group}} @if($item->status == 'Hold') @endif
@endif