535 lines
45 KiB
PHP
Executable File
535 lines
45 KiB
PHP
Executable File
<?php # [BlazeFolded]:{flux::heading}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/heading.blade.php}:{1776985208} ?>
|
||
<?php # [BlazeFolded]:{flux::text}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/text.blade.php}:{1776985208} ?>
|
||
<?php # [BlazeFolded]:{flux::menu.radio.group}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/menu/radio/group.blade.php}:{1776985208} ?>
|
||
<?php # [BlazeFolded]:{flux::menu.separator}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/menu/separator.blade.php}:{1776985208} ?>
|
||
<?php # [BlazeFolded]:{flux::menu.item}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/menu/item.blade.php}:{1776985208} ?>
|
||
<?php # [BlazeFolded]:{flux::menu.radio.group}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/menu/radio/group.blade.php}:{1776985208} ?>
|
||
<?php # [BlazeFolded]:{flux::menu.separator}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/menu/separator.blade.php}:{1776985208} ?>
|
||
<?php # [BlazeFolded]:{flux::menu.item}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/menu/item.blade.php}:{1776985208} ?>
|
||
<?php # [BlazeFolded]:{flux::menu}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/menu/index.blade.php}:{1776985208} ?>
|
||
<?php # [BlazeFolded]:{flux::dropdown}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/dropdown.blade.php}:{1776985208} ?>
|
||
<?php # [BlazeFolded]:{flux::menu.item}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/menu/item.blade.php}:{1776985208} ?>
|
||
<?php # [BlazeFolded]:{flux::menu.separator}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/menu/separator.blade.php}:{1776985208} ?>
|
||
<?php # [BlazeFolded]:{flux::menu.item}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/menu/item.blade.php}:{1776985208} ?>
|
||
<?php # [BlazeFolded]:{flux::menu}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/menu/index.blade.php}:{1776985208} ?>
|
||
<?php # [BlazeFolded]:{flux::dropdown}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/dropdown.blade.php}:{1776985208} ?>
|
||
<?php # [BlazeFolded]:{flux::heading}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/heading.blade.php}:{1776985208} ?>
|
||
<?php # [BlazeFolded]:{flux::text}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/text.blade.php}:{1776985208} ?>
|
||
<?php # [BlazeFolded]:{flux::menu.radio.group}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/menu/radio/group.blade.php}:{1776985208} ?>
|
||
<?php # [BlazeFolded]:{flux::menu.separator}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/menu/separator.blade.php}:{1776985208} ?>
|
||
<?php # [BlazeFolded]:{flux::menu.item}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/menu/item.blade.php}:{1776985208} ?>
|
||
<?php # [BlazeFolded]:{flux::menu.radio.group}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/menu/radio/group.blade.php}:{1776985208} ?>
|
||
<?php # [BlazeFolded]:{flux::menu.separator}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/menu/separator.blade.php}:{1776985208} ?>
|
||
<?php # [BlazeFolded]:{flux::menu.item}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/menu/item.blade.php}:{1776985208} ?>
|
||
<?php # [BlazeFolded]:{flux::menu}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/menu/index.blade.php}:{1776985208} ?>
|
||
<?php # [BlazeFolded]:{flux::dropdown}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/dropdown.blade.php}:{1776985208} ?>
|
||
<?php # [BlazeFolded]:{flux::toast}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/toast/index.blade.php}:{1776985208} ?>
|
||
<?php # [BlazeFolded]:{flux::toast.group}:{/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/toast/group.blade.php}:{1776985208} ?>
|
||
<!DOCTYPE html>
|
||
<html lang="<?php echo e(str_replace('_', '-', app()->getLocale())); ?>" class="dark">
|
||
<head>
|
||
<?php echo $__env->make('partials.head', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
|
||
</head>
|
||
|
||
<body class="min-h-screen bg-white text-zinc-950 antialiased dark:bg-zinc-950 dark:text-zinc-100">
|
||
<div class="wms-app-shell" data-wms-shell>
|
||
<div class="wms-mobile-overlay" data-wms-mobile-close></div>
|
||
|
||
<aside class="wms-sidebar" data-wms-sidebar aria-label="<?php echo e(__('Main navigation')); ?>">
|
||
<div class="wms-sidebar-header">
|
||
<a href="<?php echo e(auth()->user()?->isMpbaPlatformAdmin() ? route('platform.dashboard') : route('dashboard')); ?>" wire:navigate class="wms-brand" aria-label="<?php echo e(__('Warehouse Management System')); ?>">
|
||
<span class="wms-brand-mark">
|
||
<span class="wms-brand-mark-inner">W</span>
|
||
</span>
|
||
|
||
<span class="wms-brand-copy" data-wms-sidebar-label>
|
||
<span class="wms-brand-title"><?php echo e(__('Warehouse Management System')); ?></span>
|
||
<span class="wms-brand-subtitle">MPBA</span>
|
||
</span>
|
||
</a>
|
||
|
||
<button
|
||
type="button"
|
||
class="wms-sidebar-toggle"
|
||
data-wms-sidebar-toggle
|
||
aria-label="<?php echo e(__('Collapse sidebar')); ?>"
|
||
aria-expanded="true"
|
||
>
|
||
<span class="wms-toggle-expanded">‹</span>
|
||
<span class="wms-toggle-collapsed">›</span>
|
||
</button>
|
||
|
||
<button
|
||
type="button"
|
||
class="wms-mobile-close"
|
||
data-wms-mobile-close
|
||
aria-label="<?php echo e(__('Close navigation')); ?>"
|
||
>
|
||
×
|
||
</button>
|
||
</div>
|
||
|
||
<nav class="wms-sidebar-nav" aria-label="<?php echo e(__('Operations')); ?>">
|
||
<div class="wms-sidebar-group">
|
||
<div class="wms-sidebar-heading" data-wms-sidebar-label><?php echo e(__('Operations')); ?></div>
|
||
|
||
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(auth()->user()?->isMpbaPlatformAdmin()): ?>
|
||
<a href="<?php echo e(route('platform.dashboard')); ?>" wire:navigate class="wms-sidebar-link <?php if(request()->routeIs('platform.dashboard')): ?> is-active <?php endif; ?>" title="<?php echo e(__('Platform')); ?>">
|
||
<i class="fa-solid fa-screwdriver-wrench wms-sidebar-icon" aria-hidden="true"></i>
|
||
<span data-wms-sidebar-label><?php echo e(__('Platform')); ?></span>
|
||
</a>
|
||
<?php else: ?>
|
||
<a href="<?php echo e(route('dashboard')); ?>" wire:navigate class="wms-sidebar-link <?php if(request()->routeIs('dashboard')): ?> is-active <?php endif; ?>" title="<?php echo e(__('Dashboard')); ?>">
|
||
<i class="fa-solid fa-gauge-high wms-sidebar-icon" aria-hidden="true"></i>
|
||
<span data-wms-sidebar-label><?php echo e(__('Dashboard')); ?></span>
|
||
</a>
|
||
<?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
|
||
|
||
|
||
</div>
|
||
|
||
<?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(auth()->user()?->isMpbaPlatformAdmin()): ?>
|
||
<div class="wms-sidebar-group">
|
||
<div class="wms-sidebar-heading" data-wms-sidebar-label><?php echo e(__('Administration')); ?></div>
|
||
|
||
<a href="<?php echo e(route('warehouses.index')); ?>" wire:navigate class="wms-sidebar-link <?php if(request()->routeIs('warehouses.*')): ?> is-active <?php endif; ?>" title="<?php echo e(__('Warehouses')); ?>">
|
||
<i class="fa-solid fa-warehouse wms-sidebar-icon" aria-hidden="true"></i>
|
||
<span data-wms-sidebar-label><?php echo e(__('Warehouses')); ?></span>
|
||
</a>
|
||
<a href="<?php echo e(route('warehouse-rules.index')); ?>" wire:navigate class="wms-sidebar-link <?php if(request()->routeIs('warehouse-rules.*')): ?> is-active <?php endif; ?>" title="<?php echo e(__('Validation Rules')); ?>">
|
||
<i class="fa-solid fa-shield-halved wms-sidebar-icon" aria-hidden="true"></i>
|
||
<span data-wms-sidebar-label><?php echo e(__('Validation Rules')); ?></span>
|
||
</a>
|
||
<a href="<?php echo e(route('platform.companies.index')); ?>" wire:navigate class="wms-sidebar-link <?php if(request()->routeIs('platform.companies.*')): ?> is-active <?php endif; ?>" title="<?php echo e(__('Companies')); ?>">
|
||
<i class="fa-solid fa-building wms-sidebar-icon" aria-hidden="true"></i>
|
||
<span data-wms-sidebar-label><?php echo e(__('Companies')); ?></span>
|
||
</a>
|
||
|
||
<a href="<?php echo e(route('platform.licenses.index')); ?>" wire:navigate class="wms-sidebar-link <?php if(request()->routeIs('platform.licenses.*')): ?> is-active <?php endif; ?>" title="<?php echo e(__('Licences')); ?>">
|
||
<i class="fa-solid fa-key wms-sidebar-icon" aria-hidden="true"></i>
|
||
<span data-wms-sidebar-label><?php echo e(__('Licences')); ?></span>
|
||
</a>
|
||
|
||
<a href="<?php echo e(route('platform.payments.index')); ?>" wire:navigate class="wms-sidebar-link <?php if(request()->routeIs('platform.payments.*')): ?> is-active <?php endif; ?>" title="<?php echo e(__('Payments')); ?>">
|
||
<i class="fa-solid fa-credit-card wms-sidebar-icon" aria-hidden="true"></i>
|
||
<span data-wms-sidebar-label><?php echo e(__('Payments')); ?></span>
|
||
</a>
|
||
</div>
|
||
<?php else: ?>
|
||
<div class="wms-sidebar-group">
|
||
<div class="wms-sidebar-heading" data-wms-sidebar-label><?php echo e(__('Administration')); ?></div>
|
||
|
||
<a href="<?php echo e(route('warehouses.index')); ?>" wire:navigate class="wms-sidebar-link <?php if(request()->routeIs('warehouses.*')): ?> is-active <?php endif; ?>" title="<?php echo e(__('Warehouses')); ?>">
|
||
<i class="fa-solid fa-warehouse wms-sidebar-icon" aria-hidden="true"></i>
|
||
<span data-wms-sidebar-label><?php echo e(__('Warehouses')); ?></span>
|
||
</a>
|
||
</div>
|
||
<?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
|
||
</nav>
|
||
|
||
<div class="wms-sidebar-footer">
|
||
<?php ob_start(); ?><ui-dropdown position="top start" data-flux-dropdown>
|
||
<?php ob_start(); ?>
|
||
<button type="button" class="wms-user-card wms-user-card-button" data-wms-sidebar-label>
|
||
<div class="wms-user-avatar"><?php echo e(auth()->user()?->initials() ?? 'U'); ?></div>
|
||
<div class="wms-user-copy">
|
||
<div class="wms-user-name"><?php echo e(auth()->user()?->name ?? __('User')); ?></div>
|
||
<div class="wms-user-email"><?php echo e(auth()->user()?->email ?? ''); ?></div>
|
||
</div>
|
||
<i class="fa-solid fa-chevron-up wms-user-chevron" aria-hidden="true"></i>
|
||
</button>
|
||
|
||
<?php ob_start(); ?><ui-menu
|
||
class="[:where(&)]:min-w-48 p-[.3125rem] rounded-lg shadow-xs border border-zinc-200 dark:border-zinc-600 bg-white dark:bg-zinc-700 focus:outline-hidden"
|
||
popover="manual"
|
||
data-flux-menu
|
||
>
|
||
<?php ob_start(); ?>
|
||
<?php ob_start(); ?><ui-menu-radio-group data-flux-menu-radio-group>
|
||
<?php ob_start(); ?>
|
||
<div class="p-0 text-sm font-normal">
|
||
<div class="flex items-center gap-2 px-1 py-1.5 text-start text-sm">
|
||
<?php $blaze_memoized_key = \Livewire\Blaze\Memoizer\Memo::key("flux::avatar", ['name' => auth()->user()?->name ?? 'User', 'initials' => auth()->user()?->initials() ?? 'U']); ?><?php if ($blaze_memoized_key !== null && \Livewire\Blaze\Memoizer\Memo::has($blaze_memoized_key)) : ?><?php echo \Livewire\Blaze\Memoizer\Memo::get($blaze_memoized_key); ?><?php else : ?><?php ob_start(); ?><?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/avatar/index.blade.php', $__blaze->compiledPath.'/c62016d9aaa9eefc3be8277726982d94.php'); ?>
|
||
<?php $__blaze->pushData(['name' => auth()->user()?->name ?? 'User','initials' => auth()->user()?->initials() ?? 'U']); ?>
|
||
<?php _c62016d9aaa9eefc3be8277726982d94($__blaze, ['name' => auth()->user()?->name ?? 'User','initials' => auth()->user()?->initials() ?? 'U'], [], ['name', 'initials'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||
<?php $__blaze->popData(); ?><?php $blaze_memoized_html = ob_get_clean(); ?><?php if ($blaze_memoized_key !== null) { \Livewire\Blaze\Memoizer\Memo::put($blaze_memoized_key, $blaze_memoized_html); } ?><?php echo $blaze_memoized_html; ?><?php endif; ?>
|
||
|
||
<div class="grid flex-1 text-start text-sm leading-tight">
|
||
<?php ob_start(); ?><div class="font-medium [:where(&)]:text-zinc-800 [:where(&)]:dark:text-white text-sm [&:has(+[data-flux-subheading])]:mb-2 [[data-flux-subheading]+&]:mt-2 truncate" data-flux-heading><?php ob_start(); ?><?php echo e(auth()->user()?->name ?? __('User')); ?><?php echo trim(ob_get_clean()); ?></div>
|
||
<?php echo ltrim(ob_get_clean()); ?>
|
||
<?php ob_start(); ?><p class="[:where(&)]:font-normal [:where(&)]:text-sm [:where(&)]:text-zinc-500 [:where(&)]:dark:text-white/70 truncate" data-flux-text ><?php ob_start(); ?><?php echo e(auth()->user()?->email ?? ''); ?><?php echo trim(ob_get_clean()); ?></p><?php echo ltrim(ob_get_clean()); ?>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<?php echo trim(ob_get_clean()); ?>
|
||
|
||
</ui-menu-radio-group>
|
||
<?php echo ltrim(ob_get_clean()); ?>
|
||
|
||
<?php ob_start(); ?><div class="-mx-[.3125rem] my-[.3125rem] h-px" data-flux-menu-separator>
|
||
<div data-orientation="horizontal" role="none" class="border-0 [print-color-adjust:exact] bg-zinc-800/15 dark:bg-white/20 h-px w-full dark:bg-zinc-600!" data-flux-separator></div>
|
||
</div>
|
||
<?php echo ltrim(ob_get_clean()); ?>
|
||
|
||
<?php ob_start(); ?><ui-menu-radio-group data-flux-menu-radio-group>
|
||
<?php ob_start(); ?>
|
||
<?php ob_start(); ?><a href="<?php echo e(route('profile.edit')); ?>" data-flux-menu-item="data-flux-menu-item" data-flux-menu-item-has-icon="data-flux-menu-item-has-icon" class="flex items-center px-2 py-1.5 w-full focus:outline-hidden rounded-md text-start text-sm font-medium [&[disabled]]:opacity-50 text-zinc-800 data-active:bg-zinc-50 dark:text-white dark:data-active:bg-zinc-600 **:data-flux-menu-item-icon:text-zinc-400 dark:**:data-flux-menu-item-icon:text-white/60 [&[data-active]_[data-flux-menu-item-icon]]:text-current" wire:navigate="">
|
||
<svg class="shrink-0 [:where(&)]:size-5 me-2" data-flux-menu-item-icon="data-flux-menu-item-icon" data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||
<path d="M13.024 9.25c.47 0 .827-.433.637-.863a4 4 0 0 0-4.094-2.364c-.468.05-.665.576-.43.984l1.08 1.868a.75.75 0 0 0 .649.375h2.158ZM7.84 7.758c-.236-.408-.79-.5-1.068-.12A3.982 3.982 0 0 0 6 10c0 .884.287 1.7.772 2.363.278.38.832.287 1.068-.12l1.078-1.868a.75.75 0 0 0 0-.75L7.839 7.758ZM9.138 12.993c-.235.408-.039.934.43.984a4 4 0 0 0 4.094-2.364c.19-.43-.168-.863-.638-.863h-2.158a.75.75 0 0 0-.65.375l-1.078 1.868Z"/>
|
||
<path fill-rule="evenodd" d="m14.13 4.347.644-1.117a.75.75 0 0 0-1.299-.75l-.644 1.116a6.954 6.954 0 0 0-2.081-.556V1.75a.75.75 0 0 0-1.5 0v1.29a6.954 6.954 0 0 0-2.081.556L6.525 2.48a.75.75 0 1 0-1.3.75l.645 1.117A7.04 7.04 0 0 0 4.347 5.87L3.23 5.225a.75.75 0 1 0-.75 1.3l1.116.644A6.954 6.954 0 0 0 3.04 9.25H1.75a.75.75 0 0 0 0 1.5h1.29c.078.733.27 1.433.556 2.081l-1.116.645a.75.75 0 1 0 .75 1.298l1.117-.644a7.04 7.04 0 0 0 1.523 1.523l-.645 1.117a.75.75 0 1 0 1.3.75l.644-1.116a6.954 6.954 0 0 0 2.081.556v1.29a.75.75 0 0 0 1.5 0v-1.29a6.954 6.954 0 0 0 2.081-.556l.645 1.116a.75.75 0 0 0 1.299-.75l-.645-1.117a7.042 7.042 0 0 0 1.523-1.523l1.117.644a.75.75 0 0 0 .75-1.298l-1.116-.645a6.954 6.954 0 0 0 .556-2.081h1.29a.75.75 0 0 0 0-1.5h-1.29a6.954 6.954 0 0 0-.556-2.081l1.116-.644a.75.75 0 0 0-.75-1.3l-1.117.645a7.04 7.04 0 0 0-1.524-1.523ZM10 4.5a5.475 5.475 0 0 0-2.781.754A5.527 5.527 0 0 0 5.22 7.277 5.475 5.475 0 0 0 4.5 10a5.475 5.475 0 0 0 .752 2.777 5.527 5.527 0 0 0 2.028 2.004c.802.458 1.73.719 2.72.719a5.474 5.474 0 0 0 2.78-.753 5.527 5.527 0 0 0 2.001-2.027c.458-.802.719-1.73.719-2.72a5.475 5.475 0 0 0-.753-2.78 5.528 5.528 0 0 0-2.028-2.002A5.475 5.475 0 0 0 10 4.5Z" clip-rule="evenodd"/>
|
||
</svg>
|
||
|
||
|
||
<?php ob_start(); ?>
|
||
<?php echo e(__('Settings')); ?>
|
||
|
||
<?php echo trim(ob_get_clean()); ?>
|
||
|
||
</a>
|
||
<?php echo ltrim(ob_get_clean()); ?>
|
||
<?php echo trim(ob_get_clean()); ?>
|
||
|
||
</ui-menu-radio-group>
|
||
<?php echo ltrim(ob_get_clean()); ?>
|
||
|
||
<?php ob_start(); ?><div class="-mx-[.3125rem] my-[.3125rem] h-px" data-flux-menu-separator>
|
||
<div data-orientation="horizontal" role="none" class="border-0 [print-color-adjust:exact] bg-zinc-800/15 dark:bg-white/20 h-px w-full dark:bg-zinc-600!" data-flux-separator></div>
|
||
</div>
|
||
<?php echo ltrim(ob_get_clean()); ?>
|
||
|
||
<form method="POST" action="<?php echo e(route('logout')); ?>" class="w-full">
|
||
<?php echo csrf_field(); ?>
|
||
<?php ob_start(); ?><button type="submit" class="flex items-center px-2 py-1.5 w-full focus:outline-hidden rounded-md text-start text-sm font-medium [&[disabled]]:opacity-50 text-zinc-800 data-active:bg-zinc-50 dark:text-white dark:data-active:bg-zinc-600 **:data-flux-menu-item-icon:text-zinc-400 dark:**:data-flux-menu-item-icon:text-white/60 [&[data-active]_[data-flux-menu-item-icon]]:text-current w-full cursor-pointer" data-flux-menu-item="data-flux-menu-item" data-flux-menu-item-has-icon="data-flux-menu-item-has-icon" data-test="logout-button">
|
||
<svg class="shrink-0 [:where(&)]:size-5 me-2" data-flux-menu-item-icon="data-flux-menu-item-icon" data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||
<path fill-rule="evenodd" d="M3 4.25A2.25 2.25 0 0 1 5.25 2h5.5A2.25 2.25 0 0 1 13 4.25v2a.75.75 0 0 1-1.5 0v-2a.75.75 0 0 0-.75-.75h-5.5a.75.75 0 0 0-.75.75v11.5c0 .414.336.75.75.75h5.5a.75.75 0 0 0 .75-.75v-2a.75.75 0 0 1 1.5 0v2A2.25 2.25 0 0 1 10.75 18h-5.5A2.25 2.25 0 0 1 3 15.75V4.25Z" clip-rule="evenodd"/>
|
||
<path fill-rule="evenodd" d="M6 10a.75.75 0 0 1 .75-.75h9.546l-1.048-.943a.75.75 0 1 1 1.004-1.114l2.5 2.25a.75.75 0 0 1 0 1.114l-2.5 2.25a.75.75 0 1 1-1.004-1.114l1.048-.943H6.75A.75.75 0 0 1 6 10Z" clip-rule="evenodd"/>
|
||
</svg>
|
||
|
||
|
||
<?php ob_start(); ?>
|
||
<?php echo e(__('Log out')); ?>
|
||
|
||
<?php echo trim(ob_get_clean()); ?>
|
||
|
||
</button>
|
||
<?php echo ltrim(ob_get_clean()); ?>
|
||
</form>
|
||
<?php echo trim(ob_get_clean()); ?>
|
||
|
||
</ui-menu>
|
||
<?php echo ltrim(ob_get_clean()); ?>
|
||
<?php echo trim(ob_get_clean()); ?>
|
||
|
||
</ui-dropdown>
|
||
<?php echo ltrim(ob_get_clean()); ?>
|
||
|
||
<?php ob_start(); ?><ui-dropdown position="top start" data-flux-dropdown>
|
||
<?php ob_start(); ?>
|
||
<button type="button" class="wms-user-rail-button" title="<?php echo e(__('Account')); ?>">
|
||
<?php echo e(auth()->user()?->initials() ?? 'U'); ?>
|
||
|
||
</button>
|
||
|
||
<?php ob_start(); ?><ui-menu
|
||
class="[:where(&)]:min-w-48 p-[.3125rem] rounded-lg shadow-xs border border-zinc-200 dark:border-zinc-600 bg-white dark:bg-zinc-700 focus:outline-hidden"
|
||
popover="manual"
|
||
data-flux-menu
|
||
>
|
||
<?php ob_start(); ?>
|
||
<?php ob_start(); ?><a href="<?php echo e(route('profile.edit')); ?>" data-flux-menu-item="data-flux-menu-item" data-flux-menu-item-has-icon="data-flux-menu-item-has-icon" class="flex items-center px-2 py-1.5 w-full focus:outline-hidden rounded-md text-start text-sm font-medium [&[disabled]]:opacity-50 text-zinc-800 data-active:bg-zinc-50 dark:text-white dark:data-active:bg-zinc-600 **:data-flux-menu-item-icon:text-zinc-400 dark:**:data-flux-menu-item-icon:text-white/60 [&[data-active]_[data-flux-menu-item-icon]]:text-current" wire:navigate="">
|
||
<svg class="shrink-0 [:where(&)]:size-5 me-2" data-flux-menu-item-icon="data-flux-menu-item-icon" data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||
<path d="M13.024 9.25c.47 0 .827-.433.637-.863a4 4 0 0 0-4.094-2.364c-.468.05-.665.576-.43.984l1.08 1.868a.75.75 0 0 0 .649.375h2.158ZM7.84 7.758c-.236-.408-.79-.5-1.068-.12A3.982 3.982 0 0 0 6 10c0 .884.287 1.7.772 2.363.278.38.832.287 1.068-.12l1.078-1.868a.75.75 0 0 0 0-.75L7.839 7.758ZM9.138 12.993c-.235.408-.039.934.43.984a4 4 0 0 0 4.094-2.364c.19-.43-.168-.863-.638-.863h-2.158a.75.75 0 0 0-.65.375l-1.078 1.868Z"/>
|
||
<path fill-rule="evenodd" d="m14.13 4.347.644-1.117a.75.75 0 0 0-1.299-.75l-.644 1.116a6.954 6.954 0 0 0-2.081-.556V1.75a.75.75 0 0 0-1.5 0v1.29a6.954 6.954 0 0 0-2.081.556L6.525 2.48a.75.75 0 1 0-1.3.75l.645 1.117A7.04 7.04 0 0 0 4.347 5.87L3.23 5.225a.75.75 0 1 0-.75 1.3l1.116.644A6.954 6.954 0 0 0 3.04 9.25H1.75a.75.75 0 0 0 0 1.5h1.29c.078.733.27 1.433.556 2.081l-1.116.645a.75.75 0 1 0 .75 1.298l1.117-.644a7.04 7.04 0 0 0 1.523 1.523l-.645 1.117a.75.75 0 1 0 1.3.75l.644-1.116a6.954 6.954 0 0 0 2.081.556v1.29a.75.75 0 0 0 1.5 0v-1.29a6.954 6.954 0 0 0 2.081-.556l.645 1.116a.75.75 0 0 0 1.299-.75l-.645-1.117a7.042 7.042 0 0 0 1.523-1.523l1.117.644a.75.75 0 0 0 .75-1.298l-1.116-.645a6.954 6.954 0 0 0 .556-2.081h1.29a.75.75 0 0 0 0-1.5h-1.29a6.954 6.954 0 0 0-.556-2.081l1.116-.644a.75.75 0 0 0-.75-1.3l-1.117.645a7.04 7.04 0 0 0-1.524-1.523ZM10 4.5a5.475 5.475 0 0 0-2.781.754A5.527 5.527 0 0 0 5.22 7.277 5.475 5.475 0 0 0 4.5 10a5.475 5.475 0 0 0 .752 2.777 5.527 5.527 0 0 0 2.028 2.004c.802.458 1.73.719 2.72.719a5.474 5.474 0 0 0 2.78-.753 5.527 5.527 0 0 0 2.001-2.027c.458-.802.719-1.73.719-2.72a5.475 5.475 0 0 0-.753-2.78 5.528 5.528 0 0 0-2.028-2.002A5.475 5.475 0 0 0 10 4.5Z" clip-rule="evenodd"/>
|
||
</svg>
|
||
|
||
|
||
<?php ob_start(); ?><?php echo e(__('Settings')); ?><?php echo trim(ob_get_clean()); ?>
|
||
|
||
</a>
|
||
<?php echo ltrim(ob_get_clean()); ?>
|
||
<?php ob_start(); ?><div class="-mx-[.3125rem] my-[.3125rem] h-px" data-flux-menu-separator>
|
||
<div data-orientation="horizontal" role="none" class="border-0 [print-color-adjust:exact] bg-zinc-800/15 dark:bg-white/20 h-px w-full dark:bg-zinc-600!" data-flux-separator></div>
|
||
</div>
|
||
<?php echo ltrim(ob_get_clean()); ?>
|
||
<form method="POST" action="<?php echo e(route('logout')); ?>" class="w-full">
|
||
<?php echo csrf_field(); ?>
|
||
<?php ob_start(); ?><button type="submit" class="flex items-center px-2 py-1.5 w-full focus:outline-hidden rounded-md text-start text-sm font-medium [&[disabled]]:opacity-50 text-zinc-800 data-active:bg-zinc-50 dark:text-white dark:data-active:bg-zinc-600 **:data-flux-menu-item-icon:text-zinc-400 dark:**:data-flux-menu-item-icon:text-white/60 [&[data-active]_[data-flux-menu-item-icon]]:text-current w-full cursor-pointer" data-flux-menu-item="data-flux-menu-item" data-flux-menu-item-has-icon="data-flux-menu-item-has-icon">
|
||
<svg class="shrink-0 [:where(&)]:size-5 me-2" data-flux-menu-item-icon="data-flux-menu-item-icon" data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||
<path fill-rule="evenodd" d="M3 4.25A2.25 2.25 0 0 1 5.25 2h5.5A2.25 2.25 0 0 1 13 4.25v2a.75.75 0 0 1-1.5 0v-2a.75.75 0 0 0-.75-.75h-5.5a.75.75 0 0 0-.75.75v11.5c0 .414.336.75.75.75h5.5a.75.75 0 0 0 .75-.75v-2a.75.75 0 0 1 1.5 0v2A2.25 2.25 0 0 1 10.75 18h-5.5A2.25 2.25 0 0 1 3 15.75V4.25Z" clip-rule="evenodd"/>
|
||
<path fill-rule="evenodd" d="M6 10a.75.75 0 0 1 .75-.75h9.546l-1.048-.943a.75.75 0 1 1 1.004-1.114l2.5 2.25a.75.75 0 0 1 0 1.114l-2.5 2.25a.75.75 0 1 1-1.004-1.114l1.048-.943H6.75A.75.75 0 0 1 6 10Z" clip-rule="evenodd"/>
|
||
</svg>
|
||
|
||
|
||
<?php ob_start(); ?>
|
||
<?php echo e(__('Log out')); ?>
|
||
|
||
<?php echo trim(ob_get_clean()); ?>
|
||
|
||
</button>
|
||
<?php echo ltrim(ob_get_clean()); ?>
|
||
</form>
|
||
<?php echo trim(ob_get_clean()); ?>
|
||
|
||
</ui-menu>
|
||
<?php echo ltrim(ob_get_clean()); ?>
|
||
<?php echo trim(ob_get_clean()); ?>
|
||
|
||
</ui-dropdown>
|
||
<?php echo ltrim(ob_get_clean()); ?>
|
||
</div>
|
||
</aside>
|
||
|
||
<div class="wms-main-column">
|
||
<header class="wms-mobile-header">
|
||
<button type="button" class="wms-mobile-menu" data-wms-mobile-open aria-label="<?php echo e(__('Open navigation')); ?>">
|
||
<i class="fa-solid fa-bars" aria-hidden="true"></i>
|
||
</button>
|
||
|
||
<a href="<?php echo e(auth()->user()?->isMpbaPlatformAdmin() ? route('platform.dashboard') : route('dashboard')); ?>" wire:navigate class="wms-mobile-title">
|
||
<?php echo e(__('Warehouse Management System')); ?>
|
||
|
||
</a>
|
||
|
||
<?php ob_start(); ?><ui-dropdown position="top end" data-flux-dropdown>
|
||
<?php ob_start(); ?>
|
||
<?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/profile.blade.php', $__blaze->compiledPath.'/136cb3dd3f602ba4df5729c573589639.php'); ?>
|
||
<?php $__blaze->pushData(['initials' => auth()->user()?->initials() ?? 'U','iconTrailing' => 'chevron-down']); ?>
|
||
<?php _136cb3dd3f602ba4df5729c573589639($__blaze, ['initials' => auth()->user()?->initials() ?? 'U','iconTrailing' => 'chevron-down'], [], ['initials'], ['iconTrailing' => 'icon-trailing'], $__this ?? (isset($this) ? $this : null)); ?>
|
||
<?php $__blaze->popData(); ?>
|
||
|
||
<?php ob_start(); ?><ui-menu
|
||
class="[:where(&)]:min-w-48 p-[.3125rem] rounded-lg shadow-xs border border-zinc-200 dark:border-zinc-600 bg-white dark:bg-zinc-700 focus:outline-hidden"
|
||
popover="manual"
|
||
data-flux-menu
|
||
>
|
||
<?php ob_start(); ?>
|
||
<?php ob_start(); ?><ui-menu-radio-group data-flux-menu-radio-group>
|
||
<?php ob_start(); ?>
|
||
<div class="p-0 text-sm font-normal">
|
||
<div class="flex items-center gap-2 px-1 py-1.5 text-start text-sm">
|
||
<?php $blaze_memoized_key = \Livewire\Blaze\Memoizer\Memo::key("flux::avatar", ['name' => auth()->user()?->name ?? 'User', 'initials' => auth()->user()?->initials() ?? 'U']); ?><?php if ($blaze_memoized_key !== null && \Livewire\Blaze\Memoizer\Memo::has($blaze_memoized_key)) : ?><?php echo \Livewire\Blaze\Memoizer\Memo::get($blaze_memoized_key); ?><?php else : ?><?php ob_start(); ?><?php $__blaze->ensureRequired('/Users/mag/Sites/WMS/Concepts/WMS_Core/vendor/livewire/flux/src/../stubs/resources/views/flux/avatar/index.blade.php', $__blaze->compiledPath.'/c62016d9aaa9eefc3be8277726982d94.php'); ?>
|
||
<?php $__blaze->pushData(['name' => auth()->user()?->name ?? 'User','initials' => auth()->user()?->initials() ?? 'U']); ?>
|
||
<?php _c62016d9aaa9eefc3be8277726982d94($__blaze, ['name' => auth()->user()?->name ?? 'User','initials' => auth()->user()?->initials() ?? 'U'], [], ['name', 'initials'], [], $__this ?? (isset($this) ? $this : null)); ?>
|
||
<?php $__blaze->popData(); ?><?php $blaze_memoized_html = ob_get_clean(); ?><?php if ($blaze_memoized_key !== null) { \Livewire\Blaze\Memoizer\Memo::put($blaze_memoized_key, $blaze_memoized_html); } ?><?php echo $blaze_memoized_html; ?><?php endif; ?>
|
||
|
||
<div class="grid flex-1 text-start text-sm leading-tight">
|
||
<?php ob_start(); ?><div class="font-medium [:where(&)]:text-zinc-800 [:where(&)]:dark:text-white text-sm [&:has(+[data-flux-subheading])]:mb-2 [[data-flux-subheading]+&]:mt-2 truncate" data-flux-heading><?php ob_start(); ?><?php echo e(auth()->user()?->name ?? __('User')); ?><?php echo trim(ob_get_clean()); ?></div>
|
||
<?php echo ltrim(ob_get_clean()); ?>
|
||
<?php ob_start(); ?><p class="[:where(&)]:font-normal [:where(&)]:text-sm [:where(&)]:text-zinc-500 [:where(&)]:dark:text-white/70 truncate" data-flux-text ><?php ob_start(); ?><?php echo e(auth()->user()?->email ?? ''); ?><?php echo trim(ob_get_clean()); ?></p><?php echo ltrim(ob_get_clean()); ?>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<?php echo trim(ob_get_clean()); ?>
|
||
|
||
</ui-menu-radio-group>
|
||
<?php echo ltrim(ob_get_clean()); ?>
|
||
|
||
<?php ob_start(); ?><div class="-mx-[.3125rem] my-[.3125rem] h-px" data-flux-menu-separator>
|
||
<div data-orientation="horizontal" role="none" class="border-0 [print-color-adjust:exact] bg-zinc-800/15 dark:bg-white/20 h-px w-full dark:bg-zinc-600!" data-flux-separator></div>
|
||
</div>
|
||
<?php echo ltrim(ob_get_clean()); ?>
|
||
|
||
<?php ob_start(); ?><ui-menu-radio-group data-flux-menu-radio-group>
|
||
<?php ob_start(); ?>
|
||
<?php ob_start(); ?><a href="<?php echo e(route('profile.edit')); ?>" data-flux-menu-item="data-flux-menu-item" data-flux-menu-item-has-icon="data-flux-menu-item-has-icon" class="flex items-center px-2 py-1.5 w-full focus:outline-hidden rounded-md text-start text-sm font-medium [&[disabled]]:opacity-50 text-zinc-800 data-active:bg-zinc-50 dark:text-white dark:data-active:bg-zinc-600 **:data-flux-menu-item-icon:text-zinc-400 dark:**:data-flux-menu-item-icon:text-white/60 [&[data-active]_[data-flux-menu-item-icon]]:text-current" wire:navigate="">
|
||
<svg class="shrink-0 [:where(&)]:size-5 me-2" data-flux-menu-item-icon="data-flux-menu-item-icon" data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||
<path d="M13.024 9.25c.47 0 .827-.433.637-.863a4 4 0 0 0-4.094-2.364c-.468.05-.665.576-.43.984l1.08 1.868a.75.75 0 0 0 .649.375h2.158ZM7.84 7.758c-.236-.408-.79-.5-1.068-.12A3.982 3.982 0 0 0 6 10c0 .884.287 1.7.772 2.363.278.38.832.287 1.068-.12l1.078-1.868a.75.75 0 0 0 0-.75L7.839 7.758ZM9.138 12.993c-.235.408-.039.934.43.984a4 4 0 0 0 4.094-2.364c.19-.43-.168-.863-.638-.863h-2.158a.75.75 0 0 0-.65.375l-1.078 1.868Z"/>
|
||
<path fill-rule="evenodd" d="m14.13 4.347.644-1.117a.75.75 0 0 0-1.299-.75l-.644 1.116a6.954 6.954 0 0 0-2.081-.556V1.75a.75.75 0 0 0-1.5 0v1.29a6.954 6.954 0 0 0-2.081.556L6.525 2.48a.75.75 0 1 0-1.3.75l.645 1.117A7.04 7.04 0 0 0 4.347 5.87L3.23 5.225a.75.75 0 1 0-.75 1.3l1.116.644A6.954 6.954 0 0 0 3.04 9.25H1.75a.75.75 0 0 0 0 1.5h1.29c.078.733.27 1.433.556 2.081l-1.116.645a.75.75 0 1 0 .75 1.298l1.117-.644a7.04 7.04 0 0 0 1.523 1.523l-.645 1.117a.75.75 0 1 0 1.3.75l.644-1.116a6.954 6.954 0 0 0 2.081.556v1.29a.75.75 0 0 0 1.5 0v-1.29a6.954 6.954 0 0 0 2.081-.556l.645 1.116a.75.75 0 0 0 1.299-.75l-.645-1.117a7.042 7.042 0 0 0 1.523-1.523l1.117.644a.75.75 0 0 0 .75-1.298l-1.116-.645a6.954 6.954 0 0 0 .556-2.081h1.29a.75.75 0 0 0 0-1.5h-1.29a6.954 6.954 0 0 0-.556-2.081l1.116-.644a.75.75 0 0 0-.75-1.3l-1.117.645a7.04 7.04 0 0 0-1.524-1.523ZM10 4.5a5.475 5.475 0 0 0-2.781.754A5.527 5.527 0 0 0 5.22 7.277 5.475 5.475 0 0 0 4.5 10a5.475 5.475 0 0 0 .752 2.777 5.527 5.527 0 0 0 2.028 2.004c.802.458 1.73.719 2.72.719a5.474 5.474 0 0 0 2.78-.753 5.527 5.527 0 0 0 2.001-2.027c.458-.802.719-1.73.719-2.72a5.475 5.475 0 0 0-.753-2.78 5.528 5.528 0 0 0-2.028-2.002A5.475 5.475 0 0 0 10 4.5Z" clip-rule="evenodd"/>
|
||
</svg>
|
||
|
||
|
||
<?php ob_start(); ?>
|
||
<?php echo e(__('Settings')); ?>
|
||
|
||
<?php echo trim(ob_get_clean()); ?>
|
||
|
||
</a>
|
||
<?php echo ltrim(ob_get_clean()); ?>
|
||
<?php echo trim(ob_get_clean()); ?>
|
||
|
||
</ui-menu-radio-group>
|
||
<?php echo ltrim(ob_get_clean()); ?>
|
||
|
||
<?php ob_start(); ?><div class="-mx-[.3125rem] my-[.3125rem] h-px" data-flux-menu-separator>
|
||
<div data-orientation="horizontal" role="none" class="border-0 [print-color-adjust:exact] bg-zinc-800/15 dark:bg-white/20 h-px w-full dark:bg-zinc-600!" data-flux-separator></div>
|
||
</div>
|
||
<?php echo ltrim(ob_get_clean()); ?>
|
||
|
||
<form method="POST" action="<?php echo e(route('logout')); ?>" class="w-full">
|
||
<?php echo csrf_field(); ?>
|
||
<?php ob_start(); ?><button type="submit" class="flex items-center px-2 py-1.5 w-full focus:outline-hidden rounded-md text-start text-sm font-medium [&[disabled]]:opacity-50 text-zinc-800 data-active:bg-zinc-50 dark:text-white dark:data-active:bg-zinc-600 **:data-flux-menu-item-icon:text-zinc-400 dark:**:data-flux-menu-item-icon:text-white/60 [&[data-active]_[data-flux-menu-item-icon]]:text-current w-full cursor-pointer" data-flux-menu-item="data-flux-menu-item" data-flux-menu-item-has-icon="data-flux-menu-item-has-icon" data-test="logout-button">
|
||
<svg class="shrink-0 [:where(&)]:size-5 me-2" data-flux-menu-item-icon="data-flux-menu-item-icon" data-flux-icon xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||
<path fill-rule="evenodd" d="M3 4.25A2.25 2.25 0 0 1 5.25 2h5.5A2.25 2.25 0 0 1 13 4.25v2a.75.75 0 0 1-1.5 0v-2a.75.75 0 0 0-.75-.75h-5.5a.75.75 0 0 0-.75.75v11.5c0 .414.336.75.75.75h5.5a.75.75 0 0 0 .75-.75v-2a.75.75 0 0 1 1.5 0v2A2.25 2.25 0 0 1 10.75 18h-5.5A2.25 2.25 0 0 1 3 15.75V4.25Z" clip-rule="evenodd"/>
|
||
<path fill-rule="evenodd" d="M6 10a.75.75 0 0 1 .75-.75h9.546l-1.048-.943a.75.75 0 1 1 1.004-1.114l2.5 2.25a.75.75 0 0 1 0 1.114l-2.5 2.25a.75.75 0 1 1-1.004-1.114l1.048-.943H6.75A.75.75 0 0 1 6 10Z" clip-rule="evenodd"/>
|
||
</svg>
|
||
|
||
|
||
<?php ob_start(); ?>
|
||
<?php echo e(__('Log out')); ?>
|
||
|
||
<?php echo trim(ob_get_clean()); ?>
|
||
|
||
</button>
|
||
<?php echo ltrim(ob_get_clean()); ?>
|
||
</form>
|
||
<?php echo trim(ob_get_clean()); ?>
|
||
|
||
</ui-menu>
|
||
<?php echo ltrim(ob_get_clean()); ?>
|
||
<?php echo trim(ob_get_clean()); ?>
|
||
|
||
</ui-dropdown>
|
||
<?php echo ltrim(ob_get_clean()); ?>
|
||
</header>
|
||
|
||
<main class="wms-content">
|
||
<?php echo e($slot); ?>
|
||
|
||
</main>
|
||
</div>
|
||
</div>
|
||
|
||
<?php app("livewire")->forceAssetInjection(); ?><div x-persist="<?php echo e('toast'); ?>">
|
||
<?php ob_start(); ?><ui-toast-group x-data x-on:toast-show.document="$el.showToast($event.detail)" popover="manual" position="bottom end" wire:ignore>
|
||
<?php ob_start(); ?>
|
||
<?php ob_start(); ?><ui-toast x-data x-on:toast-show.document="! $el.closest('ui-toast-group') && $el.showToast($event.detail)" popover="manual" position="bottom end" wire:ignore>
|
||
<template>
|
||
<div class="max-w-sm in-[ui-toast-group]:max-w-auto in-[ui-toast-group]:w-xs sm:in-[ui-toast-group]:w-sm" data-variant="" data-flux-toast-dialog>
|
||
<div class="p-2 flex rounded-xl shadow-lg bg-white border border-zinc-200 border-b-zinc-300/80 dark:bg-zinc-700 dark:border-zinc-600">
|
||
<div class="flex-1 flex items-start gap-4 overflow-hidden">
|
||
<div class="flex-1 py-1.5 ps-2.5 flex gap-2">
|
||
|
||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" class="hidden [[data-flux-toast-dialog][data-variant=success]_&]:block shrink-0 mt-0.5 size-4 text-lime-600 dark:text-lime-400">
|
||
<path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14Zm3.844-8.791a.75.75 0 0 0-1.188-.918l-3.7 4.79-1.649-1.833a.75.75 0 1 0-1.114 1.004l2.25 2.5a.75.75 0 0 0 1.15-.043l4.25-5.5Z" clip-rule="evenodd" />
|
||
</svg>
|
||
|
||
|
||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" class="hidden [[data-flux-toast-dialog][data-variant=warning]_&]:block shrink-0 mt-0.5 size-4 text-amber-500 dark:text-amber-400">
|
||
<path fill-rule="evenodd" d="M6.701 2.25c.577-1 2.02-1 2.598 0l5.196 9a1.5 1.5 0 0 1-1.299 2.25H2.804a1.5 1.5 0 0 1-1.3-2.25l5.197-9ZM8 4a.75.75 0 0 1 .75.75v3a.75.75 0 1 1-1.5 0v-3A.75.75 0 0 1 8 4Zm0 8a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z" clip-rule="evenodd" />
|
||
</svg>
|
||
|
||
|
||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" class="hidden [[data-flux-toast-dialog][data-variant=info]_&]:block shrink-0 mt-0.5 size-4 text-cyan-500 dark:text-cyan-400">
|
||
<path fill-rule="evenodd" d="M15 8A7 7 0 1 1 1 8a7 7 0 0 1 14 0ZM9 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0ZM6.75 8a.75.75 0 0 0 0 1.5h.75v1.75a.75.75 0 0 0 1.5 0v-2.5A.75.75 0 0 0 8.25 8h-1.5Z" clip-rule="evenodd" />
|
||
</svg>
|
||
|
||
|
||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor" class="hidden [[data-flux-toast-dialog][data-variant=danger]_&]:block shrink-0 mt-0.5 size-4 text-rose-500 dark:text-rose-400">
|
||
<path fill-rule="evenodd" d="M8 15A7 7 0 1 0 8 1a7 7 0 0 0 0 14ZM8 4a.75.75 0 0 1 .75.75v3a.75.75 0 0 1-1.5 0v-3A.75.75 0 0 1 8 4Zm0 8a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z" clip-rule="evenodd" />
|
||
</svg>
|
||
|
||
<div>
|
||
|
||
<div class="font-medium text-sm text-zinc-800 dark:text-white [&:not(:empty)+div]:font-normal [&:not(:empty)+div]:text-zinc-500 [&:not(:empty)+div]:dark:text-zinc-300 [&:not(:empty)]:pb-2"><slot name="heading"></slot></div>
|
||
|
||
|
||
<div class="font-medium text-sm text-zinc-800 dark:text-white"><slot name="text"></slot></div>
|
||
</div>
|
||
</div>
|
||
|
||
|
||
<ui-close class="flex items-center">
|
||
<button type="button" class="inline-flex items-center font-medium justify-center gap-2 truncate disabled:opacity-50 dark:disabled:opacity-75 disabled:cursor-default h-8 text-sm rounded-md w-8 bg-transparent hover:bg-zinc-800/5 dark:hover:bg-white/15 text-zinc-400 hover:text-zinc-800 dark:text-zinc-400 dark:hover:text-white" as="button">
|
||
<div>
|
||
<svg class="[:where(&)]:size-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true" data-slot="icon">
|
||
<path d="M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z"></path>
|
||
</svg>
|
||
</div>
|
||
</button>
|
||
</ui-close>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</template>
|
||
</ui-toast>
|
||
<?php echo ltrim(ob_get_clean()); ?>
|
||
<?php echo trim(ob_get_clean()); ?>
|
||
|
||
</ui-toast-group>
|
||
<?php echo ltrim(ob_get_clean()); ?>
|
||
</div>
|
||
|
||
<?php app('livewire')->forceAssetInjection(); ?>
|
||
<?php echo app('flux')->scripts(); ?>
|
||
|
||
|
||
<script>
|
||
(function () {
|
||
const STORAGE_KEY = 'wms-sidebar-state';
|
||
|
||
function applySidebarState() {
|
||
const root = document.documentElement;
|
||
const saved = localStorage.getItem(STORAGE_KEY) || 'expanded';
|
||
|
||
root.dataset.wmsSidebar = saved === 'collapsed' ? 'collapsed' : 'expanded';
|
||
|
||
document.querySelectorAll('[data-wms-sidebar-toggle]').forEach((button) => {
|
||
const expanded = root.dataset.wmsSidebar !== 'collapsed';
|
||
button.setAttribute('aria-expanded', expanded ? 'true' : 'false');
|
||
button.setAttribute('aria-label', expanded ? '<?php echo e(__('Collapse sidebar')); ?>' : '<?php echo e(__('Expand sidebar')); ?>');
|
||
});
|
||
}
|
||
|
||
function closeMobileSidebar() {
|
||
document.documentElement.dataset.wmsMobileSidebar = 'closed';
|
||
}
|
||
|
||
function openMobileSidebar() {
|
||
document.documentElement.dataset.wmsMobileSidebar = 'open';
|
||
}
|
||
|
||
function bindSidebarControls() {
|
||
applySidebarState();
|
||
|
||
document.querySelectorAll('[data-wms-sidebar-toggle]').forEach((button) => {
|
||
if (button.dataset.wmsBound === '1') {
|
||
return;
|
||
}
|
||
|
||
button.dataset.wmsBound = '1';
|
||
|
||
button.addEventListener('click', function () {
|
||
const root = document.documentElement;
|
||
const next = root.dataset.wmsSidebar === 'collapsed' ? 'expanded' : 'collapsed';
|
||
|
||
root.dataset.wmsSidebar = next;
|
||
localStorage.setItem(STORAGE_KEY, next);
|
||
applySidebarState();
|
||
});
|
||
});
|
||
|
||
document.querySelectorAll('[data-wms-mobile-open]').forEach((button) => {
|
||
if (button.dataset.wmsBound === '1') {
|
||
return;
|
||
}
|
||
|
||
button.dataset.wmsBound = '1';
|
||
button.addEventListener('click', openMobileSidebar);
|
||
});
|
||
|
||
document.querySelectorAll('[data-wms-mobile-close]').forEach((button) => {
|
||
if (button.dataset.wmsBound === '1') {
|
||
return;
|
||
}
|
||
|
||
button.dataset.wmsBound = '1';
|
||
button.addEventListener('click', closeMobileSidebar);
|
||
});
|
||
|
||
document.querySelectorAll('.wms-sidebar-link[wire\\:navigate]').forEach((link) => {
|
||
if (link.dataset.wmsMobileBound === '1') {
|
||
return;
|
||
}
|
||
|
||
link.dataset.wmsMobileBound = '1';
|
||
link.addEventListener('click', closeMobileSidebar);
|
||
});
|
||
}
|
||
|
||
document.addEventListener('DOMContentLoaded', bindSidebarControls);
|
||
document.addEventListener('livewire:navigated', bindSidebarControls);
|
||
})();
|
||
</script>
|
||
</body>
|
||
</html>
|
||
<?php /**PATH /Users/mag/Sites/WMS/Concepts/WMS_Core/resources/views/layouts/app/sidebar.blade.php ENDPATH**/ ?>
|