@if ($attachment) @if( in_array($attachment->extension(), ['png','jpg','jpeg','gif','pdf','wav','mp3','docx','xlsx','mp4']) ) @endif
@if( in_array($attachment->extension(), ['png','jpg','jpeg','gif']) ) @endif @if( in_array($attachment->extension(), ['wav', 'mp3']) ) @endif @if( $attachment->extension() === 'mp4') @endif @if( $attachment->extension() === 'pdf') @endif @if( $attachment->extension() == 'docx') @endif @if( $attachment->extension() == 'xlsx') @endif
@endif @error('body') {{ $message }} @enderror @error('attachment') {{ $message }} @enderror @if($showEmoji) @endif @if($showCanned)

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

@endif {{-- --}}
@if($ResourceInfo != null && ($ResourceInfo->type == 'Message' || $ResourceInfo->type == 'Cm')) @endif