@extends('layouts.head_office_app') @section('title', 'Case '.$case->id) @section('sub-header') @include('head_office.case_manager.notes.sub-header') @endsection @section('content')
@include('layouts.error')

Form:

{{$case->form_name ?? ' '}}

Created

{{$case->created_at->format('d M Y, h:i a')}}

@if (isset($case->getReporter()->id) && $case->getReporter()->email != 'external@qitech.com') Reported by

{{$case->getReporter()->name ?? 'External User'}}

Reported from @else Reported from @endif

getReporter()->id) && $case->getReporter()->email != 'external@qitech.com') title="{{$case->location_full_address}}"@endif> @if (isset($case->saved_loc)) {{ isset($case->saved_loc->location_id) ? $case->saved_loc->location_id : $case->saved_loc->trading_name}} @else {{ isset($case->location->location_id) ? $case->location->location_id : $case->location_name}} @endif

Last Updated

{{ $case->updated_at->diffForHumans() }}

Autosaved Comments

@if($drafts->isEmpty())

You don't have any draft comments

@else {{-- --}} @foreach($drafts as $key => $comment) {{-- @endforeach
--}}
{{$comment->user->name}} @if($comment->type) {{$comment->type}} @else comment autosaved @endif ({{$comment->days_ago()}}) {{date('d/m/Y h:i a',strtotime($comment->updated_at))}}
{!! ($comment->comment) !!}
@foreach($comment->views as $view) {{$view->head_office_user->user->name}} @endforeach
@if(count($comment->documents)) @endif
@endif
0

Items Selected

@section('styles') @endsection @endsection @section('scripts') @endsection