@php use App\Domain\Time\BusinessCalendar; $tz = config('qw.business_timezone'); $period = fn ($r) => BusinessCalendar::formatKey($r->start_date->format('Y-m-d')).' – '.BusinessCalendar::formatKey($r->end_date->format('Y-m-d')); @endphp
{{ __('leave.approval.readOnly') }}
@endunless{{ $filter === 'pending' ? __('leave.approval.emptyPending') : __('leave.approval.empty') }}
@else{{ __('leave.errors.'.$error) }}
@elseif ($approved){{ __('twoRole.decisionSaved') }}. {{ __('twoRole.employeeNotified') }}
@endif{{ __('leave.approval.confirmBody', ['worker' => $detail->worker->name, 'period' => $period($detail)]) }}
@if($decision==='rejected')@endif @if($error){{ __('leave.errors.'.$error) }}
@endif