JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr@extends('layouts.admin') @section('page-title') {{ __('Manage Holiday') }} @endsection @php $setting = App\Models\Utility::settings(); @endphp @section('breadcrumb') @endsection @section('action-button') @can('Create Holiday') @endcan @endsection @section('content')
{{ Form::open(['route' => ['holiday.calender'], 'method' => 'get', 'id' => 'holiday_filter']) }}
{{ Form::label('start_date', __('Start Date'), ['class' => 'form-label']) }} {{ Form::date('start_date', isset($_GET['start_date']) ? $_GET['start_date'] : '', ['class' => 'month-btn form-control ', 'autocomplete' => 'off']) }}
{{ Form::label('end_date', __('End Date'), ['class' => 'form-label']) }} {{ Form::date('end_date', isset($_GET['end_date']) ? $_GET['end_date'] : '', ['class' => 'month-btn form-control ', 'autocomplete' => 'off']) }}
{{ Form::close() }}
{{ __('Calendar') }}
{{--
--}} @if (isset($setting['is_enabled']) && $setting['is_enabled'] == 'on') @endif {{--
--}}

{{ __('Holiday List') }}

    @if (!$holidays->isEmpty()) @foreach ($holidays as $holiday)
  • {{ $holiday->occasion }}
    {{ __('Start Date :') }} {{ \Auth::user()->dateFormat($holiday->start_date) }}
    {{ __('End Date :') }} {{ \Auth::user()->dateFormat($holiday->end_date) }}
  • @endforeach @else
    {{ __('No Holiday List!') }}
    @endif
@endsection @push('script-page') @endpush