@extends('dashboard.layout.layout') @section('content')

{{ $contact->subject }}

{{ trans('dashboard.contact.writtenBy') }} {{ $contact->fullname ?? $contact->email }} | {{ $contact->created_at }}
{!! trans('dashboard.chat.message') !!}

{{ $contact->content }}


@forelse ($contact->replies as $reply)
Avatar
{{ $reply->sender->fullname }}

{{ $reply->created_at->format("M d, Y") }}

{!! $reply->reply !!}

{!! trans('dashboard.general.delete') !!}
@if (!$loop->last)
@endif
@empty
@endforelse
{!! Form::open(['route'=>'dashboard.contact.store','method'=>'POST','files'=>true,'class'=>'form-horizontal']) !!}
{!! Form::radio('send_type', 'fcm', null , ['class' => 'custom-control-input' , 'id' => 'fcm']) !!}
{!! Form::radio('send_type', 'sms', null , ['class' => 'custom-control-input' , 'id' => 'sms']) !!}
{!! Form::close() !!}
@include('dashboard.layout.delete_modal') @endsection @include('dashboard.contact.show_scripts')