@if ($consult)
{{ trans('plugins/real-estate::consult.time') }}
{{ $consult->created_at }}
{{ trans('plugins/real-estate::consult.consult_id') }}
AB00000{{ $consult->id }}
{{ trans('plugins/real-estate::consult.form_name') }}
{{ $consult->name }}
@if ($consult->ip_address && auth()->check())
{{ trans('plugins/real-estate::consult.ip_address') }}
{{ $consult->ip_address }}
@endif
{{ trans('plugins/real-estate::consult.email.header') }}
{{ $consult->email }}
{{ trans('plugins/real-estate::consult.phone') }}
@if ($consult->phone)
{{ $consult->phone }}
@else
N/A
@endif
@if ($consult->project_id && $consult->project)
{{ trans('plugins/real-estate::consult.project') }}
{{ $consult->project->name }}
@endif
@if ($consult->property_id && $consult->property)
{{ trans('plugins/real-estate::consult.property') }}
{{ $consult->property->name }}
@endif
@if($consult->custom_fields)
@foreach($consult->custom_fields as $key => $value)
@continue(blank($value))
{{ $key }}
{{ $value }}
@endforeach
@endif
{{ trans('plugins/real-estate::consult.content') }}
{{ $consult->content ?: 'N/A' }}
@endif