@extends('app-new') @push('head-script') @endpush @push('content-header') @endpush @section('content')
{{ $monthLabel }}
@forelse ($days as $day) @php $badgeClass = [ 'Holiday' => 'badge-holiday', 'National Holiday' => 'badge-national-holiday', 'Restricted Holiday' => 'badge-restricted-holiday', 'Week Off' => 'badge-week-off', 'Extra Week Off' => 'badge-extra-week-off', 'Shut Down' => 'badge-shut-down', ][$day['label']] ?? 'badge-working'; @endphp @empty @endforelse
Date Day Status Remark Source
{{ $day['date']->format('d-m-Y') }} {{ $day['date']->format('l') }} {{ $day['label'] }} {{ $day['remark'] ?: '-' }} {{ $day['source'] }}
Select an employee to view the calendar
@endsection @push('footer-script') @endpush