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

Inquiries


{{-- Filters --}}
Reset
Total: {{ $inquiries->count() }} inquiries
{{-- Table --}} @forelse($inquiries as $inquiry) {{-- Customer --}} {{-- Property --}} {{-- Viewing Date --}} {{-- Rent --}} {{-- Status --}} @empty @endforelse
Customer Property Viewing Date Rent Status Actions
{{ $inquiry->customer_name ?? 'N/A' }} {{ $inquiry->customer_phone ?? '' }} {{ $inquiry->property_address ?? 'N/A' }}
{{ $inquiry->property_id ?? '' }}
@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
@if($inquiry->agreed_rent) ${{ number_format($inquiry->agreed_rent) }}
${{ number_format($inquiry->rent_min) }} – ${{ number_format($inquiry->rent_max) }}/mo @else @endif
{{ $inquiry->status }} View
No inquiries found.
@endsection @push('scripts') @endpush