@extends('layouts.app') @section('title', 'Dashboard') @section('content')

Dashboard Overview

@if(isset($summary))

My Investment Summary

  • Total Invested: {{ number_format($summary['total_invested'], 2) }}
  • Total Profit (planned): {{ number_format($summary['total_profit'], 2) }}
  • Total Paid: {{ number_format($summary['total_paid'], 2) }}
  • Due Profit: {{ number_format($summary['due_profit'], 2) }}
@endif

My Invoices

@forelse($invoices as $invoice) @empty @endforelse
# Flat Purchase Date Action
{{ $loop->iteration }} {{ $invoice->flat->name ?? 'N/A' }} {{ $invoice->purchase_date }}
No invoices found.
@endsection