@extends('layouts.app') @section('title', 'Dashboard') @section('content') {{-- Hero Welcome Section --}}
Professional invoices made easy. Quickly understand who your best customers are and motivate them to pay their bills.
Active Products
{{ $activeProducts }}
Total active
Active Customers
{{ $activeCustomers }}
Total active
Taxable Revenue
₹{{ number_format($taxableRevenue, 0) }}
Date range
Non-Taxable Revenue
₹{{ number_format($nonTaxableRevenue, 0) }}
Date range
Pending Payments
₹{{ number_format($pendingPayments, 0) }}
Unpaid total
Low Stock
{{ $lowStockProducts }}
Alert items
₹{{ number_format($collectedTotal, 0) }}
₹{{ number_format($outstandingTotal, 0) }}
Latest stock movements
{{ $txn->product->name ?? 'Unknown Product' }}
{{ $txn->created_at->format('d M, Y h:i A') }}
No transactions yet
Latest product sales
{{ $item->product->name ?? 'Unknown' }}
Qty: {{ $item->quantity }} — ₹{{ number_format($item->line_total, 2) }}
No sales yet
Highest spending customers
{{ $entry->customer->customer_name ?? 'Unknown' }}
{{ ['dealer' => 'Distributor', 'shop' => 'Shop', 'ecom' => 'Ecom', 'customer' => 'Customer'][$entry->customer->customer_type] ?? $entry->customer->customer_type ?? '' }}
No data yet
Products that need restocking
{{ $product->name }}
SKU: #{{ $product->id }}
All stocked up!
No low stock products to worry about.