📅

Department Working Days Updated

Hello,

The working days schedule for your department has been updated. Please review the new schedule below and adjust your work plans accordingly.

📋 {{ $department->name }}

Previous Working Days

@php $dayNames = ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday', 'Sunday']; $dayKeys = ['mon', 'tue', 'wed', 'thu', 'fri', 'sat', 'sun']; @endphp @foreach($dayKeys as $index => $key)
{{ substr($dayNames[$index], 0, 3) }}
{{ in_array($key, $oldDays) ? '✓' : '✗' }}
@endforeach

New Working Days

@foreach($dayKeys as $index => $key)
{{ substr($dayNames[$index], 0, 3) }}
{{ in_array($key, $newDays) ? '✓' : '✗' }}
@endforeach

📌 Schedule Summary

Working Days: @php $workingDayNames = array_map(function($key) use ($dayKeys, $dayNames) { $index = array_search($key, $dayKeys); return $dayNames[$index]; }, $newDays); @endphp {{ implode(', ', $workingDayNames) }}

Total Working Days: {{ count($newDays) }} days per week

Effective Date: Immediately

Please ensure your personal schedule aligns with these department working days. If you have any concerns or conflicts, please contact your department manager.

View Department Schedule