@extends('admin.layouts.app') @section('title', 'Dashboard') @section('content')
Total Properties
{{ number_format($stats['total_properties']) }}
Total Inquiries
{{ number_format($stats['total_inquiries']) }}
{{ $stats['new_inquiries'] }} new inquiries pending
@elseAll inquiries handled
@endifTotal Users
{{ number_format($stats['total_users']) }}
Registered on platform
Property Views
{{ number_format($stats['total_views']) }}
Total page views
| Name | Property | Status | Date |
|---|---|---|---|
|
{{ $inquiry->name }} {{ $inquiry->phone }} |
@if ($inquiry->property) {{ Str::limit($inquiry->property->title, 30) }} @else General Inquiry @endif | @php $statusColors = [ 'new' => 'badge-warning', 'viewed' => 'badge-info', 'contacted' => 'badge-success', 'follow_up' => 'badge-info', 'converted' => 'badge-success', 'closed' => 'badge-gray', ]; @endphp {{ ucfirst(str_replace('_', ' ', $inquiry->status)) }} | {{ $inquiry->created_at->diffForHumans() }} |
| No inquiries yet | |||
{{ $property->title }}
{{ $property->full_location }}
{{ $property->formatted_price }}
No properties yet
@endforelse