@extends('layouts.app') @section('title', 'Dashboard - Smart ERP') @section('page-title', 'Dashboard') @section('content')
₹{{ number_format($todaySales, 2) }}
{{ $todayInvoices }} invoices
₹{{ number_format($monthSales, 2) }}
{{ $monthInvoices }} invoices
{{ number_format($totalCustomers) }}
Total Customers
{{ number_format($totalProducts) }}
Total Products
Suppliers
{{ number_format($totalSuppliers) }}
GST Payable
₹{{ number_format(($gstSummary->total_cgst ?? 0) + ($gstSummary->total_sgst ?? 0) + ($gstSummary->total_igst ?? 0), 2) }}
Taxable
₹{{ number_format($gstSummary->total_taxable ?? 0, 2) }}
| Invoice | Customer | Amount | Status | Date |
|---|---|---|---|---|
| #{{ $invoice->invoice_number }} | {{ $invoice->customer->name ?? 'N/A' }} | ₹{{ number_format($invoice->total_amount, 2) }} | {{ ucfirst($invoice->status) }} | {{ $invoice->created_at->format('d M Y') }} |
| No invoices yet | ||||
{{ $product->name }}
{{ $product->sku }}
{{ $product->current_stock }}
Min: {{ $product->min_stock_level }}
All stock levels good
{{ $product->name }}
{{ $product->total_qty }} sold
₹{{ number_format($product->total_sales, 0) }}
No sales data
@endforelse