@php $taskListItems = collect($taskListItems ?? []); $taskListOngoingItems = collect($taskListOngoingItems ?? []); $taskListDoneItems = collect($taskListDoneItems ?? []); $taskListPastIncompleteCount = (int) ($taskListPastIncompleteCount ?? 0); $taskListPageSize = 5; $taskGroups = [ [ 'id' => 'All', 'label' => 'All', 'items' => $taskListItems, 'active' => false, 'empty' => 'No task found for this month.', ], [ 'id' => 'Unfinished', 'label' => 'Ongoing', 'items' => $taskListOngoingItems, 'active' => true, 'empty' => 'No ongoing task for this month.', ], [ 'id' => 'Finished', 'label' => 'Done', 'items' => $taskListDoneItems, 'active' => false, 'empty' => 'No completed task for this month.', ], ]; @endphp @if ($taskListPastIncompleteCount > 0)
You have {{ $taskListPastIncompleteCount }} active task from previous months. Wrap them up to keep your records up to date.
What's on your agenda today? Add your tasks to keep your workflow organized. Add Task
{{ $task['date_day'] }}
{{ $task['due_label'] }}Assign by : {{ $task['assigned_by_label'] }}
@endif @if ($task['is_assigned_to_other_employee'] ?? false)Staff : {{ $task['assignee_label'] }}
@endifUse Add Task to create a new daily or project task.