@extends('layouts.app') @section('title', 'Store Admin Dashboard') @section('content')

Store Operations & Inventory Dashboard

Operational control center, unit-level inventory tracking, and logistics intake for your assigned store.

@if($assignedStores->count() > 1) @endif
@if($currentStore)
{{ $currentStore->code }} @if($currentStore->isActive()) Active Operational Store @else Inactive Store @endif

{{ $currentStore->name }}

{{ $currentStore->address }}, {{ $currentStore->city }}, {{ $currentStore->state }} - {{ $currentStore->pincode }}

{{ $currentStore->contact_number }} {{ $currentStore->email }} @if($currentStore->gstin) GSTIN: {{ $currentStore->gstin }} @endif
Current In-Store Stock
{{ number_format($currentStoreStock) }} units
Available for checkout
Incoming Transfers
{{ $incomingTransfers->count() }} shipments
In-transit to store
Damaged Stock
{{ number_format($storeDamagedUnits) }} units
Quarantine / Write-off
Assigned Staff
{{ $activeStaffCount }}
{{ $cashierCount }} Active Cashiers
@if($incomingTransfers->isNotEmpty())
Inbound Shipments Awaiting Receipt ({{ $incomingTransfers->count() }}) Scan individual units upon arrival
@foreach($incomingTransfers as $inbound) @endforeach
Transfer # Dispatched From Units Dispatched Carrier / Tracking Dispatched At Intake Action
{{ $inbound->transfer_number }} {{ $inbound->source_name }} {{ $inbound->total_units_dispatched }} units {{ $inbound->carrier_name ?? 'Internal Fleet' }} {{ $inbound->tracking_reference ? "({$inbound->tracking_reference})" : '' }} {{ $inbound->dispatched_at ? $inbound->dispatched_at->format('Y-m-d H:i') : '-' }} Receive & Scan
@endif
Product-Wise Store Inventory All Store Units →
@forelse($productWiseStock as $pStock) @empty @endforelse
Product Name SKU In-Store Stock
{{ $pStock->name }} {{ $pStock->sku }} {{ number_format($pStock->count) }} units
No product units currently held in store. Receive incoming transfers.
Recent Store Stock Movements Movement Log →
@forelse($recentStoreMovements as $mov) @empty @endforelse
Time Serial Type Movement
{{ $mov->created_at->format('H:i') }} {{ $mov->unit->serial_number ?? "Unit #{$mov->product_unit_id}" }} {{ $mov->movement_type }} {{ $mov->from_location_name }} → {{ $mov->to_location_name }}
No recent stock movements recorded for this store.
Store Staff & Cashiers Add Cashier
@forelse($storeUsers as $staff) @empty @endforelse
Staff Member Role Contact Status
{{ $staff->name }}
{{ $staff->email }}
{{ $staff->role_names }} {{ $staff->phone ?? '-' }} @if($staff->isActive()) Active @else Inactive @endif
No staff members assigned to this store yet.
@else
You are currently not assigned to an active store. Please contact your organization Super Administrator.
@endif @endsection