Sessions @if(isset($warehousePermission['warehouse_name']))
📦 {{ $warehousePermission['warehouse_name'] }}
@endif
Refresh
@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
Session Code
{{ $activeSession->session_code }}
Warehouse
📦 {{ $activeSession->warehouse?->name ?? 'Not Set' }}
Opened At
{{ $activeSession->opened_at->format('d M, h:i A') }}
Opening Cash
₹{{ number_format($activeSession->opening_cash, 0) }}
Total Sales
₹{{ number_format($stats['sessionSales'], 0) }}
Transactions
{{ $stats['sessionCount'] }}
Closing Cash
Close Session
@else
@csrf
No Active Session
Select warehouse and start a new session to begin accepting payments
Select Warehouse *
— Select Warehouse —
@foreach($warehouses ?? [] as $wh)
📦 {{ $wh->name }}
@endforeach
Opening Cash
Start Session
@endif
Session History
ID
Session Code
Warehouse
Opened
Opening
Sales
Count
Closing
Difference
Status
@include('components.datatable')