@extends('admin.layout') @section('content')
{{ __('If no specific holiday is set for a staff member, the "Schedule" will be applied to their timetable') }}
@csrf

{{ __('If you select No , then Schedule > Holidays will be applied to this staff.') }}

@if ($staff->is_day == 1)
@if (count($staff_holydays) == 0)

{{ __('NO HOLIDAY FOUND') . '!' }}

@else
@foreach ($staff_holydays as $holyday) @endforeach
{{ __('Date') }} {{ __('Staff Name') }} {{ __('Actions') }}
{{ $holyday->date }} {{ $holyday->staff->name }}
@csrf
@endif
@endif
@include('admin.staff.staff-holiday.create') @endsection