@include('tenant_layouts.header')
@include('tenant_layouts.navbar')
@include('tenant_layouts.topbar')
{{$correspondence[0]->subject}}
@php $lastIndex = count($correspondence) - 1; @endphp @if($correspondence[$lastIndex]->status)
Status {{$correspondence[$lastIndex]->status}}
@endif @if($correspondence[$lastIndex]->matter)
Matter{{$correspondence[$lastIndex]->matter}}
@endif @if($correspondence[$lastIndex]->priority)
Priority! {{$correspondence[$lastIndex]->priority}}
@endif
@if($correspondence[$lastIndex]->status == 'Open') @if($profile->rental_status == 'Expired') @else Reply @endif @endif Back
@foreach($correspondence as $corr)
From: {{$corr->sender_first_name.' '.$corr->sender_last_name}}
To : {{$corr->receiver_first_name.' '.$corr->receiver_last_name}}
Subject: {{$corr->subject}}
{{ date('D, m/d/Y g:i A ',strtotime($corr->created_at))}}
{!! nl2br(e( $corr->message)) !!}
@if(count($files)>0) @foreach($files as $file) @if($corr->id == $file->correspondence_id) @endif @endforeach @endif @endforeach
@include('tenant_layouts.footer')
@include('tenant_layouts.script')