@extends('layouts.app')
@section('title', 'Dashboard')
@section('content')
Dashboard Overview
@if(isset($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
| # |
Flat |
Purchase Date |
Action |
@forelse($invoices as $invoice)
| {{ $loop->iteration }} |
{{ $invoice->flat->name ?? 'N/A' }} |
{{ $invoice->purchase_date }} |
|
@empty
| No invoices found. |
@endforelse
@endsection