@extends('layouts.app') @section('title', 'Dashboard') @section('heading', 'Dashboard') @section('content')

Signed in as {{ auth()->user()->role->name }} @if ($currentBranch) at {{ $currentBranch->name }} @else across all branches @endif.

@isset($statusCounts)

Stock by status

    @foreach (\App\Enums\VehicleStatus::cases() as $s)
  1. {{ $statusCounts[$s->value] }} {{ $s->label() }}
  2. @endforeach

Longest in inventory

@if ($aging['critical'] > 0)

{{ $aging['critical'] }} {{ Str::plural('vehicle', $aging['critical']) }} past the aging alert

@endif
@isset($incoming)

Incoming shipments

@endisset
@else

Use the menu to open the modules you have access to.

@endisset @endsection