{{ __('Available Inventory') }}

Available Inventory

These devices are in stock and ready to be sold or assigned to customers.

Available Devices

{{ $inventories->total() }}

@php $totalValue = \App\Models\Inventory::where('status', 'in_stock')->sum('purchase_price'); $avgPrice = \App\Models\Inventory::where('status', 'in_stock')->avg('purchase_price') ?? 0; $uniqueModels = \App\Models\Inventory::where('status', 'in_stock')->distinct('device_model_id')->count(); @endphp

Total Value

PKR {{ number_format($totalValue, 0) }}

Avg. Price

PKR {{ number_format($avgPrice, 0) }}

Unique Models

{{ $uniqueModels }}

@if($inventories->count() > 0)
@foreach($inventories as $inventory) @endforeach
Serial Number Device Model Manufacturer Purchase Price Supplier Purchase Date Status Actions
{{ $inventory->device_serial_number }}
@if($inventory->imei_number)
IMEI: {{ $inventory->imei_number }}
@endif
{{ $inventory->deviceModel->model_name ?? 'N/A' }}
{{ $inventory->deviceModel->manufacturer ?? 'N/A' }}
PKR {{ number_format($inventory->purchase_price, 2) }}
@if($inventory->supplier) {{ $inventory->supplier->name }} @else N/A @endif
{{ $inventory->purchase_date ? \Carbon\Carbon::parse($inventory->purchase_date)->format('M d, Y') : 'N/A' }}
Available
{{ $inventories->links() }}
@else

No available devices

All devices are either sold or assigned.

@endif
@if($inventories->count() > 0)

Quick Actions

  • Review device details and ensure all information is accurate
  • Monitor stock levels and reorder when running low
  • Update pricing information if market conditions change
  • Verify supplier information is up to date
@endif