@if($dataList->count() == 0)
No hay informacion
@else
@if ($isAdmin) @endif @foreach ($dataList as $item) @if ($isAdmin) @endif @endforeach
Estado Fecha Visita Cliente Vendedor
@php switch($item->id_status){ case 1: $color = 'info'; break; case 2: $color = 'success'; break; case 3: $color = 'error'; break; case 4: $color = 'warning'; break; } @endphp
{{ $item->schedule_date }}
{{ $item->clientName }}
{{ $item->userName }}
@endif