@extends('layouts.app') @section('title', 'Attendance Details') @section('content')
{{ $dailyAttendance->employee_name }}
{{ $dailyAttendance->employee_id_number }}
{{ $dailyAttendance->attendance_date->format('F j, Y') }}
{{ $dailyAttendance->department->name ?? 'N/A' }}
{{ $dailyAttendance->biometricDevice->location_name ?? 'N/A' }}
@if($dailyAttendance->check_in_time) {{ \Carbon\Carbon::parse($dailyAttendance->check_in_time)->format('H:i:s') }} @else Not recorded @endif
{{ ucfirst($dailyAttendance->check_in_method) }}
@if($dailyAttendance->check_out_time) {{ \Carbon\Carbon::parse($dailyAttendance->check_out_time)->format('H:i:s') }} @else Not recorded @endif
@if($dailyAttendance->check_out_method){{ ucfirst($dailyAttendance->check_out_method) }}
@endif{{ $dailyAttendance->total_work_hours }} hours
@if($dailyAttendance->overtime_minutes > 0)Overtime: {{ round($dailyAttendance->overtime_minutes / 60, 1) }}h
@endif