@extends('layouts.admin') @section('page-title') {{__('Manage Holiday')}} @endsection @push('css-page') @endpush @section('breadcrumb') @endsection @section('action-btn') @can('create holiday')
{{-- --}}
@endcan @endsection @section('content')
{{ Form::open(array('route' => array('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']:'',array('class'=>'month-btn form-control'))}}
{{Form::label('end_date',__('End Date'),['class'=>'form-label'])}} {{Form::date('end_date',isset($_GET['end_date'])?$_GET['end_date']:'',array('class'=>'month-btn form-control '))}}
{{ Form::close() }}
{{ __('Calendar') }}

{{__('Holiday List')}}

  • @if(!$holidays->isEmpty()) @foreach ($holidays as $holiday)

    {{($holiday->occasion)}}

    {{__('Start Date :')}} {{ \Auth::user()->dateFormat($holiday->date) }}
    {{__('End Date :')}} {{ \Auth::user()->dateFormat($holiday->end_date) }}

    @can('edit interview schedule')
    @endcan @can('delete interview schedule')
    {!! Form::open(['method' => 'DELETE', 'route' => ['holiday.destroy', $holiday->id],'id'=>'delete-form-'.$holiday->id]) !!} {!! Form::close() !!}
    @endcan
    @endforeach @else
    {{__('No Interview Scheduled!')}}
    @endif
@endsection @push('script-page') @endpush