📅

Your Working Days Updated

Dear {{ $user->first_name }},

Your working days schedule has been updated by your administrator. Please review the new schedule below and adjust your personal plans accordingly.

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

Your New Working Days

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

📌 Your 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 you mark your attendance on the specified working days. If you have any concerns about this schedule change, please contact your supervisor or HR department.

View My Profile