new gui layout for pricing
This commit is contained in:
@@ -40,6 +40,8 @@
|
||||
<span data-wms-sidebar-label>{{ __('Dashboard') }}</span>
|
||||
</a>
|
||||
@endif
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="wms-sidebar-group">
|
||||
@@ -228,61 +230,7 @@
|
||||
</aside>
|
||||
|
||||
<div class="wms-main-panel">
|
||||
@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
|
||||
|
||||
<main class="wms-content">
|
||||
<section class="wms-page-hero" aria-labelledby="wms-page-title">
|
||||
<div class="wms-page-hero-copy">
|
||||
<div class="wms-page-hero-kicker">{{ __('MPBA WMS') }}</div>
|
||||
<h1 id="wms-page-title" class="wms-page-hero-title">{{ $pageTitle }}</h1>
|
||||
<p class="wms-page-hero-description">{{ $pageDescription }}</p>
|
||||
</div>
|
||||
|
||||
<div class="wms-page-hero-actions">
|
||||
<button type="button" class="wms-hero-mobile-menu" data-wms-mobile-open aria-label="{{ __('Open navigation') }}">
|
||||
<i class="fa-solid fa-bars" aria-hidden="true"></i>
|
||||
</button>
|
||||
|
||||
@foreach ($pageStats as $stat)
|
||||
<div class="wms-page-hero-stat">
|
||||
<span>{{ $stat['label'] }}</span>
|
||||
<strong>
|
||||
@if (! empty($stat['icon']))
|
||||
<i class="fa-solid {{ $stat['icon'] }}" aria-hidden="true"></i>
|
||||
@endif
|
||||
{{ $stat['value'] }}
|
||||
</strong>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{{ $slot }}
|
||||
</main>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user