@if(count($status)) @forelse($status as $k => $s) @empty @endforelse @endif
{{-- --}} @if(@count($docs)) @foreach($docs as $k => $s) {{-- --}} @endforeach @else @endif
STT Ngày thực hiện Nhân viên Khách hàngCông việcLoại công việc Trạng thái
{{$k}} {{$s->date_from}} {{@$s->user->full_name}} {{@$s->customer->full_name}}
({{@str_limit($s->customer->phone,7,'xxx')}})
{{$s->name}}{{$s->type==\App\Constants\NotificationConstant::CALL?'Gọi điện':'CSKH'}} @if($s->task_status_id == \App\Constants\StatusCode::NEW_TASK) Mới @elseif($s->task_status_id == \App\Constants\StatusCode::DONE_TASK) Hoàn thành @else Quá hạn @endif
Không tồn tại dữ liệu
{{ 'Tổng số ' . $docs->total() . ' bản ghi ' . (request()->search ? 'found' : '') }}
{{ $docs->appends(['search' => request()->search ])->links() }}