{{__('common.vacationPermission')}}

{{$user->name}}

@csrf
{{__('common.thisYearVacations')}}
@if($user->vacations()->where('year',$year)->count() > 0) @foreach($user->vacations as $vacation)
{{__('common.from')}} {{__('common.to')}} {{__('common.total')}} {{__('common.Reason')}} {{__('common.actions')}}
{{$vacation->from}} {{$vacation->to}} {{count(unserialize(base64_decode($vacation->daysList)))}} {{$vacation->reason}} @if(userCan('attendance_vacation_delete'))