@include('partials.head')
@php $pageTitle = $title ?? __('Warehouse Management System'); $pageDescription = match (true) { request()->routeIs('platform.dashboard') => __('Manage tenant companies, licences, payments, warehouses and internal API operations from one resilient control plane.'), request()->routeIs('platform.prices.index') => __('Choose, publish and maintain Basic, Advanced and Pro WMS pricing from one controlled platform screen.'), request()->routeIs('platform.prices.create') => __('Create a professional customer-facing pricing card with billing values, features and visibility controls.'), request()->routeIs('platform.prices.edit') => __('Update pricing, plan features and card visibility while preserving the live platform layout.'), request()->routeIs('platform.companies.*') => __('Manage tenant companies, ownership, users and the warehouse records attached to each organisation.'), request()->routeIs('platform.licenses.*') => __('Review licence allocation, account status and platform access across MPBA tenants.'), request()->routeIs('platform.payments.*') => __('Track payment activity, paid totals and tenant billing status from one administration screen.'), request()->routeIs('warehouses.*') => __('Maintain warehouse locations, operational details and company ownership records.'), request()->routeIs('inventory-management.*') => __('Monitor inventory activity, stock positions and warehouse item control.'), request()->routeIs('analytics.*') => __('Review operational insight, warehouse trends and management reporting.'), default => __('Manage tenant companies, licences, payments, warehouses and internal API operations from one resilient control plane.'), }; $pageStats = match (true) { request()->routeIs('platform.prices.*') => [ ['label' => __('Plans'), 'value' => '3', 'icon' => 'fa-layer-group'], ['label' => __('Billing'), 'value' => __('Monthly'), 'icon' => null], ], default => [ ['label' => __('System status'), 'value' => __('OK'), 'icon' => 'fa-heart-pulse'], ['label' => __('Paid £'), 'value' => '0.00', 'icon' => null], ], }; @endphp
{{ __('MPBA WMS') }}

{{ $pageTitle }}

{{ $pageDescription }}

@foreach ($pageStats as $stat)
{{ $stat['label'] }} @if (! empty($stat['icon'])) @endif {{ $stat['value'] }}
@endforeach
{{ $slot }}
@persist('toast') @endpersist @fluxScripts