@php $editPermission = user()->permission('edit_holiday'); $deletePermission = user()->permission('delete_holiday'); @endphp

@lang('app.holidayDetails')

@if ( ($editPermission == 'all' || ($editPermission == 'added' && $holiday->added_by == user()->id)) || ($deletePermission == 'all' || ($deletePermission == 'added' && $holiday->added_by == user()->id)) ) @endif