Sessions @if(isset($warehousePermission['warehouse_name']))📦 {{ $warehousePermission['warehouse_name'] }}@endif

@if(session('success'))
✓ {{ session('success') }}
@endif @if(session('error'))
✕ {{ session('error') }}
@endif
₹{{ number_format($stats['sessionSales'], 0) }}
Session Sales
{{ $stats['sessionCount'] }}
Transactions
₹{{ number_format($stats['cashInHand'], 0) }}
Cash in Hand
{{ $activeSession ? $activeSession->opened_at->diffForHumans(null, true) : '0h' }}
Session Time
🎛️ Session Control
@if($activeSession)● Active@else○ No Session@endif
@if($activeSession)
@csrf
{{ $activeSession->session_code }}
📦 {{ $activeSession->warehouse?->name ?? 'Not Set' }}
{{ $activeSession->opened_at->format('d M, h:i A') }}
₹{{ number_format($activeSession->opening_cash, 0) }}
₹{{ number_format($stats['sessionSales'], 0) }}
{{ $stats['sessionCount'] }}
@else
@csrf

No Active Session

Select warehouse and start a new session to begin accepting payments

@endif
Session History
@include('components.datatable')