@php use App\Enums\Calls\RelatedToType; @endphp
@if ($calls->count() > 0) {{-- --}} {{-- --}} {{-- --}} @foreach ($calls as $call) {{-- --}} {{-- --}} {{-- --}} @endforeach
Subject related type related To TimeSchedule TimeDuration in minutesStatus action NotesCreated At Updated AtActions
{{ $call->subject }} {{ str(RelatedToType::from($call->related_to_type)?->name)->lower() }} {{ $call->call_time->format('Y-m-d h:i') }} {{ $call->schedule_call_time?->format('Y-m-d h:i') }} {{ $call->duration_in_minutes }}{{ $call->callStatus->name ?? '-' }} {{ str($call->action)->replace('_', ' ')->ucfirst() }} {{ str($call->notes)->limit(30) }}{{ $call->created_at ?? '-' }} {{ $call->updated_at ?? '-' }}
@method('DELETE') @csrf
@else @endif
{{ $calls->links('pagination::bootstrap-5') }}