@extends('hrms.layouts.base') @section('content')
@if(Session::has('flash_message'))
{{ Session::get('flash_message') }}
@endif {!! Form::open(['class' => 'form-horizontal']) !!}
@if(count($holidays)) @foreach($holidays as $holiday) @endforeach {!! $holidays->render() !!}
Id Occasion Date From Date To Actions
{{$i+=1}} {{$holiday->occasion}} {{getFormattedDate($holiday->date_from)}} {{getFormattedDate($holiday->date_to)}}
@else

No holidays added

@endif
{!! Form::close() !!}
@endsection