@extends('Admin.layout') @section('content')

Daily Log

Employee performance summary & productivity insights
{{-- Employee --}}
Employee {{ $employee->name ?? 'N/A' }}
{{-- Check In --}}
Check In {{ $checkin ?? 'Not Checked In' }}
{{-- Productive Hours --}}
Productive Hours {{ $productiveHours ?? '00:00' }}
{{-- Break Hours --}}
Break Hours {{ $totalBreakHours ?? '00:00:00' }}
{{-- Check Out --}}
Check Out {{ $checkOut ?? 'Not Checked Out' }}
Task Details
{{ $report->unique('task')->count() }} Tasks

@foreach($report as $index => $row) @endforeach
SNO Project Task Estimated Time Start Time End Time Time Taken Extra Time Status View Task
{{ $index + 1 }} {{ $row['project'] }} {{ $row['task'] }} {{ $row['estimated_time'] }} {{ $row['start_time'] }} {{ $row['end_time'] }} {{ $row['working_hours'] }} {{ $row['extra_time'] }} @switch($row['status']) @case('not_assigned') Not Assigned @break @case('new') Not Started @break @case('inprogress') In Progress @break @case('complete') Completed @break @case('hold') Hold @break @default - @endswitch View
Break History
@forelse($breaks as $index => $break) @php $start = \Carbon\Carbon::parse($break->break_start_time); $end = \Carbon\Carbon::parse($break->break_end_time); $duration = $break->break_end_time ? $start->diff($end)->format('%H:%I:%S') : '-'; @endphp @empty @endforelse
SNO Break Start Break End Break Duration
{{ $index + 1 }} {{ $break->break_start_time ?? '-' }} {{ $break->break_end_time ?? '-' }} {{ $duration }}
No Break Records Found
@endsection