My Profile
@php
$profile = $head_office_user->get_permissions();
@endphp
@if (isset($profile) &&
$head_office_user->get_permissions()->is_access_company_activity_log == true)
@php $logs = App\Models\ActivityLog::where('head_office_id',$head_office->id)->get(); @endphp
@else
| Date | Type | Detail |
|---|---|---|
| {{ $log->created_at->format('d/m/y (D) h:i') }} | {{ $log->type }} |
@if ($log->type == 'Information Request' && isset($log->comment_id))
{{$log->action}}
View Response @elseif($log->type == 'Comment' || $log->type == 'Approve Close' && isset($log->comment_id))
{!! $log->comment?->comment !!}
@if(count($log->comment?->documents ?? []))
@endif
|