@if($resource != null)
@if($replyShow)
@error('from_email') {{ $message }} @enderror
@error('body') {{ $message }} @enderror
{!! $body !!}
@if($showCanned)

@forelse($cannedResponses as $cannedResponse) {{$cannedResponse->title}} @empty No Responses Found @endforelse

@endif @elseif($forwardShow)
@else @if($ResourceInfo->resource->status != 'Send') @endif @endif
@if ($attachments)
@foreach ($attachments as $attachment)
@if (in_array($attachment->extension(), ['png', 'jpg', 'jpeg', 'gif'])) @endif @if ($attachment->extension()== 'pdf') @endif @if ($attachment->extension()== 'docx') @endif @if (in_array($attachment->extension(), ['wav', 'mp3'])) @endif @if ($attachment->extension() === 'mp4') @endif
@endforeach
@endif
@endif
@push('script-push') @endpush