{{ __('Storekeeper Dashboard') }}

@auth {{ __('Welcome, ') }}{{ Auth::user()->name }} @endauth

{{ __("Welcome, Storekeeper!") }}

{{ __("You can manage stock inputs and outputs.") }}

{{-- Flex container for main content and sidebar --}} {{-- Left Sidebar Area for Active Users (approx. 1/4 width on medium screens) --}}

{{ __('Active Logged-In Users') }}

{{ __('Users with recent activity:') }}

@if(isset($currentlyLoggedInUsers) && $currentlyLoggedInUsers->count() > 0)
    @foreach($currentlyLoggedInUsers as $user)
  • {{ $user->name }} ({{ ucfirst($user->role) }}) @if ($user->id === Auth::id()) (You) @endif
  • @endforeach
@else

{{ __('No other users currently active.') }}

@endif
{{-- Right Main Content Area for Stock Management Links (approx. 3/4 width on medium screens) --}}

{{ __('Stock Management Quick Links') }}

{{-- Adjusted grid for better fit with sidebar --}} {{-- Quick links as before --}}

View Current Stock

See the current inventory levels of all items.

{{ __('View Stock') }}
@can('manage-stock')

Manage Stock Inputs

Add new stock, view input history, or edit existing input records.

{{ __('Manage Inputs') }}
@endcan @can('manage-stock-output')

Manage Stock Outputs

View sales history or record new product sales.

{{ __('Manage Outputs') }}
@endcan
{{-- End flex container --}}