@extends('layouts.account') @section('title', $lead->name) @section('heading', $lead->name) @section('subheading', $lead->listing?->title) @section('actions') {{ __('Back to enquiries') }} @endsection @section('account')

{{ __('The enquiry') }}

{{ $lead->status->label() }}

{{ $lead->source->label() }} · {{ $lead->created_at->format('d M Y, H:i') }}

@if ($lead->message)

{{ $lead->message }}

@endif {{-- The contact details are the point of the page: a seller opening this on a phone should be able to call back. --}}
@foreach ([ ['phone', __('Phone'), $lead->phone, $lead->phone ? 'tel:'.preg_replace('/\s+/', '', $lead->phone) : null], ['mail', __('Email'), $lead->email, $lead->email ? 'mailto:'.$lead->email : null], ] as [$icon, $label, $value, $href]) @if (filled($value))
{{ $label }}
{{ $value }}
@endif @endforeach
@if ($lead->conversation) {{ __('Reply in the conversation') }} @else

{{ __('This enquiry came from someone without an account, so there is no thread — use the phone number or email above.') }}

@endif
@if ($lead->listing)

{{ __('About') }}

{{ $lead->listing->title }} {{ $lead->listing->formattedPrice() }}
@endif
@csrf @method('PUT')

{{ __('Your notes') }}

{{ __('We will flag it when the date arrives.') }}

@endsection