@extends('layouts.app') @section('title', 'Dashboard - RealVest') @section('content')
Total Properties
{{ $properties->count() }}
Total Value
${{ number_format($properties->sum('price'), 2) }}
Available Properties
{{ $properties->where('status', 'available')->count() }}
| Title | Price | Location | Type | Status | Actions |
|---|---|---|---|---|---|
|
{{ $property->title }}
{{ $property->description ? Str::limit($property->description, 50) : 'No description' }}
|
${{ number_format($property->price, 2) }}
|
{{ $property->location ?? 'N/A' }}
|
{{ $property->property_type ?? 'N/A' }}
|
{{ ucfirst($property->status) }} | View Edit |
| No properties found. Add your first property. | |||||