@extends('layouts.head_office_app') @section('title', 'Head office Profile') @section('content') @section('styles') @endsection
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 @foreach ($logs as $log) @endforeach
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
@else {!! nl2br(e($log->action)) !!} @endif
@else

You don't have permission to see the Activity Logs

@endif
0

Items Selected

@section('scripts') @if(Session::has('success')) @elseif(Session::has('error')) @endif @endsection @endsection