@extends('layout.app') @section('content')
| Customer | Property | Viewing Date | Rent | Status | Actions |
|---|---|---|---|---|---|
| {{ $inquiry->customer_name ?? 'N/A' }} {{ $inquiry->customer_phone ?? '' }} | {{-- Property --}}
{{ $inquiry->property_address ?? 'N/A' }} {{ $inquiry->property_id ?? '' }} |
{{-- Viewing Date --}}
@if($inquiry->preferred_date)
@php $dt = \Carbon\Carbon::parse($inquiry->preferred_date); @endphp
{{ $dt->format('d M Y') }}
{{ $dt->format('h:i A') }} @else — @endif |
{{-- Rent --}}
@if($inquiry->agreed_rent)
${{ number_format($inquiry->agreed_rent) }} ${{ number_format($inquiry->rent_min) }} – ${{ number_format($inquiry->rent_max) }}/mo @else — @endif |
{{-- Status --}}
{{ $inquiry->status }} | View |
| No inquiries found. | |||||