@extends('layout.app') @section('content')
Sales This Month
@if($salesRevenueChange >= 0) {{ abs($salesRevenueChange) }}% @else {{ abs($salesRevenueChange) }}% @endif vs last month
Purchases This Month
@if($purchaseSpendChange >= 0) {{ abs($purchaseSpendChange) }}% @else {{ abs($purchaseSpendChange) }}% @endif vs last month
Products
{{ $activeProducts }} active
Customers
{{ $activeCustomers }} active
| Invoice | Customer | Date | Amount | Status |
|---|---|---|---|---|
| {{ $sale->sale_number }} | {{ $sale->customer?->display_name ?? 'Walk-in' }} | {{ $sale->sale_date->format('d M Y') }} | ₹{{ number_format($sale->grand_total, 2) }} | {{ $sale->statusLabel() }} |
| No sales recorded yet | ||||
| Invoice | Supplier | Amount | Status |
|---|---|---|---|
|
{{ $purchase->invoice_number }}
{{ $purchase->purchase_date->format('d M Y') }} |
{{ $purchase->supplier?->display_name }} | ₹{{ number_format($purchase->grand_total, 0) }} | {{ $purchase->statusLabel() }} |
| No purchases recorded yet | |||