@extends('provider.layout') @section('title', 'Property Visits') @section('content')
Manage requested property visits from clients.
| Date / Time | Property | Client | Status | Action |
|---|---|---|---|---|
|
{{ $visit->scheduled_date->format('M d, Y') }}
{{ \Carbon\Carbon::parse($visit->scheduled_time)->format('h:i A') }}
|
{{ $visit->property?->title ?? 'Property' }}
ID: #{{ $visit->property?->id ?? '—' }}
|
{{ $visit->user?->name ?? 'Guest' }}
@if($visit->user?->email)
@endif
@if($visit->customer_phone)
@endif
@if($visit->notes)
Note: {{ $visit->notes }}
@endif
|
@php $badgeClass = match($visit->status) { 'pending' => 'badge-warning', 'approved' => 'badge-success', 'completed' => 'badge-primary', 'rejected' => 'badge-danger', 'rescheduled' => 'badge-muted', default => 'badge-muted' }; @endphp {{ ucfirst($visit->status) }} | |
| No visit requests found. | ||||