{{ __('form.Attendance-Configuration') }}

{{ __('form.Add-Shift') }} {{ __('form.Add-Schedule') }} {{--
{{ __('form.Attendance-Configuration') }} {{ __('form.Shift-Location') }} {{ __('form.Log-Activity') }} {{ __('form.Attendance-Report') }}
--}}
@foreach ($shifts as $shifts) @endforeach
# {{ __('form.Code') }} {{ __('form.Name') }} {{ __('form.Location') }} {{ __('form.Schedule') }} (in - out) {{ __('form.Break') }} {{ __('form.Late-Tolerance') }} {{ __('form.Shift-Color') }} {{ __('form.Mandatory') }} {{ __('form.Paid-Day') }} {{ __('table.Action') }}
{{ $loop->iteration }} {{ $shifts->code }} {{ $shifts->name }} {{ $shifts->location?->name ?? '-' }} {{ $shifts->schedule_in }} - {{ $shifts->schedule_out }} {{ $shifts->break_start }} - {{ $shifts->break_end }} {{ $shifts->late_tolerance }} {{ __('form.minutes') }} {{ $shifts->shift_color }} {{ $shifts->is_mandatory ? __('form.Yes') : __('form.No') }} {{ $shifts->is_paid_day ? __('form.Yes') : __('form.No') }}
@csrf @method('DELETE')
{{-- --}} {{-- --}} @foreach ($schedules as $schedule) {{-- --}} {{-- --}} @endforeach
# {{ __('form.Name') }}effective_date{{ __('form.Description') }}additional_setting{{ __('form.Shift-Pattern') }}
{{ $loop->iteration }} {{ $schedule->name }} {{ $schedule->effective_date }}{{ $schedule->description }} @if ($schedule->additional_setting) @php $additionalSetting = json_decode($schedule->additional_setting, true); @endphp Breaks: {{ $additionalSetting['breaks'] ?? 'N/A' }}
Max Hours: {{ $additionalSetting['max_hours'] ?? 'N/A' }} @else {{ __('form.Shift-D') }} @endif
{{ $schedule->shift_pattern }}
@foreach ($devices as $device) @endforeach
# sn {{ __('form.Name') }} {{ __('form.Type') }} IP:Port Mechine IP:Port Server {{ __('form.Code-Activasi') }}
{{ $loop->iteration }} {{ $device->sn }} {{ $device->name }} {{ $device->type }} {{ $device->ip_addr_mechine }}:{{ $device->port_mechine }} {{ $device->ip_server }}:{{ $device->port_server }} {{ $device->code_act_mechine }}