@lang('essentials::lang.holidays')

@forelse($todays_holidays as $holiday) @php $start_date = \Carbon::parse($holiday->start_date); $end_date = \Carbon::parse($holiday->end_date); $diff = $start_date->diffInDays($end_date); $diff += 1; @endphp @empty @endforelse @forelse($upcoming_holidays as $holiday) @php $start_date = \Carbon::parse($holiday->start_date); $end_date = \Carbon::parse($holiday->end_date); $diff = $start_date->diffInDays($end_date); $diff += 1; @endphp @empty @endforelse
@lang('home.today')
{{$holiday->name}} {{@format_date($holiday->start_date)}} ({{ $diff . ' ' . str_plural(__('lang_v1.day'), $diff)}}) {{$holiday->location->name ?? __("lang_v1.all")}}
@lang('lang_v1.no_data')
 
@lang('lang_v1.upcoming')
{{$holiday->name}} {{@format_date($holiday->start_date)}} ({{ $diff . ' ' . str_plural(__('lang_v1.day'), $diff)}}) {{$holiday->location->name ?? __("lang_v1.all")}}
@lang('lang_v1.no_data')