@php Use App\Traits\Date; @endphp

@lang('common.edit_history')

@if($data['edit_history']) @foreach ($data['edit_history'] as $eh) @endforeach @endif
@lang('common.date_time') @lang('common.edit_by')
{{Date::DbToOriginal('-',$eh->date)}} , {{Date::twelveHrTime($eh->time)}} @php $path = public_path().'/Backend/profile/'.$eh->editor->profile; @endphp @if(file_exists($path)) @else @endif {{$eh->editor->name}}
@lang('common.date_time') @lang('common.edit_by')

@lang('common.delete_history')

@if($data['delete_history']) @foreach ($data['delete_history'] as $dh) @endforeach @endif
@lang('common.date_time') @lang('common.edit_by')
{{Date::DbToOriginal('-',$dh->date)}} , {{Date::twelveHrTime($dh->time)}} @php $path = public_path().'/Backend/profile/'.$dh->deletor->profile; @endphp @if(file_exists($path)) @else @endif {{$dh->deletor->name}}
@lang('common.date_time') @lang('common.edit_by')

@lang('common.restore_history')

@if($data['restore_history']) @foreach ($data['restore_history'] as $rh) @endforeach @endif
@lang('common.date_time') @lang('common.edit_by')
{{Date::DbToOriginal('-',$rh->date)}} , {{Date::twelveHrTime($rh->time)}} @php $path = public_path().'/Backend/profile/'.$rh->restorer->profile; @endphp @if(file_exists($path)) @else @endif {{$rh->restorer->name}}
@lang('common.date_time') @lang('common.edit_by')