@vite(['resources/css/app.css', 'resources/js/app.js']) @livewireStyles
{{-- Sidebar component --}}
{{-- Main area --}}
{{-- Top bar --}}
{{-- Page title --}}
@isset($pageTitle){{ $pageTitle }}@else{{ isset($header) ? strip_tags((string)$header) : 'Dashboard' }}@endisset
{{-- Shortcut links --}}
@php $cur = request()->route()?->getName(); @endphp
Dashboard
New Sale
Queue
Clients
Sales
Expenses
Stock
Reports
{{-- Right cluster --}}
{{-- + New dropdown --}}
New
Operations
New Sale
New Booking
New Expense
Records
New Client
New Product
Stock Adjustment
New Purchase
{{-- Low stock bell --}} @php $lowStockCount = \App\Models\Product::forCurrentOrganization() ->whereRaw('stock_quantity <= low_stock_threshold') ->count(); @endphp
@if($lowStockCount > 0)
@endif
{{ now()->format('d M Y') }}
{{ strtoupper(substr(Auth::user()->name ?? 'U', 0, 1)) }}
{{ Auth::user()->name ?? '' }}
{{-- Flash messages --}}
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif
{{-- Page slot --}}
@isset($header){{-- header slot consumed, not rendered in content --}}@endisset {{ $slot }}
{{-- /app-main --}}
{{-- /app-shell --}} @stack('modals') @livewireScripts @stack('scripts')