@extends('backEnd.layouts.master') @section('title', 'Edit Attendance') @section('css') @endsection @section('content')
@csrf @method('PUT')
{{-- Header --}}
Edit Attendance

Update employee attendance record.

Close
{{-- Employee Info --}}
{{ substr($attendance->employee->name, 0, 1) }}
{{ $attendance->employee->name }}
ID: {{ $attendance->employee->employee_id }}
Date {{ $attendance->attendance_date->format('d M, Y') }}
{{-- Time Inputs --}}
{{-- Status Selection --}}
status == 'present' ? 'checked' : '' }}> status == 'late' ? 'checked' : '' }}> status == 'half_day' ? 'checked' : '' }}> status == 'absent' ? 'checked' : '' }}> status == 'holiday' ? 'checked' : '' }}>
@error('status') {{ $message }} @enderror
{{-- Notes --}}
{{-- Action Buttons --}}
Cancel
@endsection