@extends('layouts.app') @section('title', 'Dashboard') @section('content') {{-- Page header --}}

Dashboard

Welcome back, {{ Auth::user()->name }}. Here's what's happening today.

{{-- KPI Cards --}}

Total Sales

{{ number_format($totalSales ?? 0, 0) }}

All time invoiced

Inventory Value

{{ number_format($inventoryValue ?? 0, 0) }}

All warehouses

Production Active

{{ $productionInProgress ?? 0 }}

Orders in progress

Purchase Pipeline

{{ $purchasePending ?? 0 }}

Active pipelines

Receivables

{{ number_format($outstandingReceivables ?? 0, 0) }}

Outstanding

{{-- Quick Actions --}}

Quick Actions

New Purchase Request

Raise a PR for approval

New Sales Order

Create order for a customer

New Production Order

Schedule a production run

Low Stock Alert

Items below minimum level

{{-- Module Shortcuts --}}

Purchase

Procurement workflow

Inventory

Stock management

Production

Manufacturing operations

Sales

Customer & revenue

@endsection