{{ html()->label('Employee')->class('form-label') }} {{ html()->select('employee_id', $employeeList)->class('form-select select2')->placeholder('Select Employee')->required() }} {{ html()->div('Please Select Employee')->class('invalid-feedback') }}
{{ html()->label('Clock In')->class('form-label') }} {{ html()->time('clock_in_time')->class('form-control')->required() }} {{ html()->div('Please Select Clock In')->class('invalid-feedback') }}
{{ html()->label('Clock Out')->class('form-label') }} {{ html()->time('clock_out_time')->class('form-control')->required() }} {{ html()->div('Please Select Clock Out')->class('invalid-feedback') }}
{{ html()->label('Date')->class('form-label') }} {{ html()->date('date')->class('form-control')->placeholder('Attendance Date')->required() }} {{ html()->div('Please Choose Date')->class('invalid-feedback') }}
{{ html()->label('Working From')->class('form-label') }} {{ html()->select('work_from_type', ['home' => 'Home', 'office' => 'Office', 'other' => 'Other'])->class('form-select select2')->placeholder('Working From') }}
{{ html()->button($editable ? 'Update' : 'Mark Attendance', 'submit')->class('btn btn-success') }}
@push('js') @endpush