@if ($consult)
    <div class="row">
        <div class="col-md-6">
            <p><strong>{{ trans('plugins/real-estate::consult.time') }}</strong>: <i>{{ $consult->created_at }}</i></p>
            <p><strong>{{ trans('plugins/real-estate::consult.consult_id') }}</strong>: <i>AB00000{{ $consult->id }}</i></p>
            <p><strong>{{ trans('plugins/real-estate::consult.form_name') }}</strong>: <i>{{ $consult->name }}</i></p>
        </div>
        <div class="col-md-6">
            <p><strong>{{ trans('plugins/real-estate::consult.email.header') }}</strong>: <i><a href="mailto:{{ $consult->email }}">{{ $consult->email }}</a></i></p>
            <p><strong>{{ trans('plugins/real-estate::consult.phone') }}</strong>: <i>@if ($consult->phone) <a href="tel:{{ $consult->phone }}">{{ $consult->phone }}</a> @else N/A @endif</i></p>
            @if ($consult->property_id)
                <p><strong>{{ trans('plugins/real-estate::consult.property') }}</strong>: <a href="{{ $consult->property->url }}" target="_blank"><i>{{ $consult->property->name }}</i></a></p>
            @endif
        </div>
    </div>
    <p><strong>{{ trans('plugins/real-estate::consult.content') }}</strong>: <i>{{ $consult->content ? $consult->content : '...' }}</i></p>
@endif
