@php use App\Enums\Tasks\RelatedToType; @endphp
Title | Due date | Status | {{--Related to type | Related to | Assigned To | --}}Notes | Created At | Updated At | Actions |
---|---|---|---|---|---|---|---|---|---|
{{ \Illuminate\Support\Carbon::create($task->due_date)->format('M d, Y') }} | {{ $task->status }} | {{--{{ str(RelatedToType::from($task->related_to_type)->name)->lower() }} | {{ $task->relatedTo?->first_name ?? '-' }} | {{ $task->assignedUser->full_name }} | --}}{{ str($task->notes)->limit(30) }} | {{ $task->created_at->format('M d, Y') ?? '-' }} | {{ $task->updated_at->format('M d, Y') ?? '-' }} |