@extends('backend.layout.main') @section('content') @if(session()->has('message'))
{{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() }}
|