@extends('Staff.layout') @section('content')
{{-- HEADER --}}
{{-- Employee Name --}}
Good Morning, {{ auth()->guard('staff')->user()->name ?? 'Employee' }}
Start your productive day 🚀
{{-- Date Time --}}
Check-in Time : {{ $loginEntry ? \Carbon\Carbon::parse($loginEntry->check_in)->format('h:i:s A') : 'Not checked in yet' }}
Task Status : @if($currentTask) @if($currentTask->task_status == 'inprogress') In Progress @else Not Started @endif @else No Task Assigned @endif
Project Name : {{ $currentTask->project->project_name ?? 'No Project Assigned' }}
{{-- LATE REASON ROW --}} @if($loginEntry && !empty($loginEntry->late_reason))
Late Check-in Reason : {{ $loginEntry->late_reason }}
@endif
{{-- TASK TABLE --}}
Task Overview
@foreach ($newTaskList as $index => $task) @endforeach
Project Task Status
{{ $task->project->project_name ?? '-' }} {{ $task->task_name }} @if(optional($task->project)->created_at?->isToday()) New @else Pending @endif
Note: Start the task and share the check-in screenshot in NovelX Technology Whatsapp Group.
@csrf
@if($loginEntry) @else @endif
@endsection