@extends('layouts.main') @section('title', 'Dashboard') @section('content')
Welcome back! Here's your business overview.
Total Revenue
${{ number_format($totalRevenue, 2) }}
Total Expenses
${{ number_format($totalExpenses, 2) }}
Net Profit
${{ number_format($netProfit, 2) }}
Cash Balance
${{ number_format($cashBalance, 2) }}
{{ $invoice->invoice_number }}
{{ $invoice->customer->name ?? 'N/A' }}
${{ number_format($invoice->total, 2) }}
{{ ucfirst($invoice->status) }}No invoices yet
All products are well stocked
@endifTotal value of your current stock
${{ number_format($inventoryValue, 2) }}