@extends('backend.layout.main') @section('content') @if(session()->has('message'))
{!! session()->get('message') !!}
@endif @if(session()->has('not_permitted'))
{{ session()->get('not_permitted') }}
@endif
@foreach($lims_holiday_list as $key=>$holiday) @endforeach
{{trans('file.date')}} {{trans('file.Created By')}} {{trans('file.From')}} {{trans('file.To')}} {{trans('file.Note')}} {{trans('file.action')}}
{{$key}} {{ date($general_setting->date_format, strtotime($holiday->created_at->toDateString())) }} {{ $holiday->user->name }} {{ date($general_setting->date_format, strtotime($holiday->from_date)) }} {{ date($general_setting->date_format, strtotime($holiday->to_date)) }} {{$holiday->note}}
@if(!$holiday->is_approved && $approve_permission) @endif {{ Form::open(['route' => ['holidays.destroy', $holiday->id], 'method' => 'DELETE'] ) }} {{ Form::close() }}
@endsection @push('scripts')