@extends('layouts.app') @section('title','Dashboard') @section('page-title','Dashboard overview') @section('content')
Here's what's happening with your business today.
{{ now()->format('d M Y') }}
@foreach([['Total products',$kpis['products'],'bi-boxes'],['Low stock alerts',$kpis['low_stock'],'bi-exclamation-triangle'],['Customers',$kpis['customers'],'bi-people'],['Suppliers',$kpis['suppliers'],'bi-truck']] as $k)
{{ $k[0] }}
{{ number_format($k[1]) }}
Current records
@endforeach
Sales overview
Last 7 days · recorded sales
INR
Sales summary
Based on recorded invoices
Today's sales
₹{{ number_format($kpis['today_sales'],2) }}
This month's sales
₹{{ number_format($kpis['month_sales'],2) }}
Manage inventory
Recent sales
@forelse($recentSales as $sale)@empty@endforelse
InvoiceCustomerDateStatusTotal
{{ $sale->invoice_no }}{{ $sale->customer_name ?: 'Walk-in customer' }}{{ $sale->sold_at?->format('d M Y') }}{{ ucfirst($sale->status) }}₹{{ number_format($sale->total,2) }}
No sales recorded yet. Sales and invoice workflow is planned for the next phase.
@endsection