@extends('backend.layouts.master') @section('title') Home @endsection @push('styles') @endpush @section('admin-content')
@include('backend.layouts.partials.message')
{{--
--}} {{-- --}} {{--
--}}

Total Flats

{{ $totalFlats }}

{{--
--}} {{-- --}} {{--
--}}

Total Sales

{{ $totalInvoices }}

{{--
--}} {{-- --}} {{--
--}}

Available Flats

{{ $availableFlats }}

{{--
--}} {{-- --}} {{--
--}}

Total Customers

{{ $totalUsers }}

Total Categories

{{ $totalCategories }}

Today's Collection

{{ number_format($todayCollection, 2) }} ৳

Total Investors

{{ $totalInvestors }}

Total Investment

{{ number_format($totalInvestment, 2) }} ৳

Category-wise Flats Breakdown
@forelse($categoryStats as $category) @empty @endforelse
Category Total Flats Sold Available
{{ $category->name }} {{ $category->total_flats }} {{ $category->sold_flats }} {{ $category->available_flats }}
No categories found.
Project-wise Flats Breakdown
@forelse($projectStats as $project) @empty @endforelse
Project Total Flats Sold Available
{{ $project->name }} {{ $project->total_flats }} {{ $project->sold_flats }} {{ $project->available_flats }}
No projects found.
Date-wise Collection
@forelse($dateWiseCollection as $data) @empty @endforelse
Date Total Collected (৳)
{{ $data->collection_date }} {{ number_format($data->total_paid, 2) }}
No collection data found.
@endsection @push('scripts') @endpush