@extends('layouts.admin') @section('title', 'Dashboard') @section('page-title', 'Dashboard') @section('content')
@foreach($widgets as $widget)

{{ $widget['label'] }}

@if($widget['currency'] ?? false) {!! \App\Support\SiteSettings::currencySymbol() !!}{{ number_format((float) $widget['value'], 2) }} @else {{ number_format((float) $widget['value']) }} @endif

Live
@endforeach
Recent Properties
@foreach($recentProperties as $property) @endforeach
PropertyTypeCityStatus
{{ $property->title }} {{ $property->type?->name }} {{ $property->city?->name }} {{ $property->status }}
Recent Leads
@forelse($recentLeads as $lead)
{{ $lead->name }} {{ $lead->status }}
{{ $lead->phone }} ยท {{ $lead->property?->title ?? 'General enquiry' }}
@empty
No leads yet.
@endforelse
@endsection