@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.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.'),
};
@endphp
{{ __('MPBA WMS') }}
{{ $pageTitle }}
{{ $pageDescription }}
{{ __('System status') }}
{{ __('OK') }}
{{ __('Paid £') }}
0.00
{{ $slot }}