@php if (isset($ho_location)) { $comment->addIntoCommentViews($ho_location->id); }else{ $comment->addIntoCommentViews(); } @endphp
{{$comment->user->name}} @if($comment->type) {{$comment->type}} @else commented @endif ({{$comment->days_ago()}}) @if (isset($comment->type) && $comment->type == 'messages at') from shared case @endif {{date('d/m/Y h:i a',strtotime($comment->updated_at))}}
{!! ($comment->comment) !!}
@if (isset($comment->type) && $comment->type == 'messages at') {{$comment->user->name}} @else @foreach($comment->views as $view)
@endforeach @endif @if(!$comment->type && !isset($address)) Reply? @endif
@if(count($comment->documents))
@endif {{-- @include('head_office.contacts.contact_comments',['comment'=>$comment,'edit_comment'=>true]) --}} @if(count($comment->replies))
@endif @foreach($comment->replies as $reply)
@if (isset($ho_location)) @include('head_office.contacts.view_comments',['comment'=>$reply]) @else @include('head_office.contacts.view_comments',['comment'=>$reply]) @endif {{-- @include('head_office.case_manager.notes.view_comments',['comment'=>$reply]) --}}
@endforeach