{{ __('Inventory Details') }}

Device Information

{{ $inventory->deviceModel->name ?? 'N/A' }}

{{ $inventory->deviceModel->manufacturer ?? 'N/A' }}

{{ $inventory->device_serial_number }}

{{ $inventory->imei_number ?? 'N/A' }}

{{ $inventory->sim_number ?? 'N/A' }}

{{ ucfirst(str_replace('_', ' ', $inventory->status)) }}

Purchase Information

{{ $inventory->purchase_date ? $inventory->purchase_date->format('d M, Y') : 'N/A' }}

Rs. {{ number_format($inventory->purchase_price, 2) }}

{{ $inventory->supplier ?? 'N/A' }}

{{ $inventory->created_at->format('d M, Y h:i A') }}

@if($inventory->notes)

Notes

{{ $inventory->notes }}

@endif @if($inventory->sales->count() > 0)

Sales History

@foreach($inventory->sales as $sale) @endforeach
Sale # Customer Date Amount Action
#{{ $sale->id }} {{ $sale->customer->name ?? 'N/A' }} {{ $sale->sale_date->format('d M, Y') }} Rs. {{ number_format($sale->total_amount, 2) }} View
@endif

Quick Info

ID: #{{ $inventory->id }}
Status: {{ ucfirst(str_replace('_', ' ', $inventory->status)) }}
Total Sales: {{ $inventory->sales->count() }}

Quick Actions

@if($inventory->status === 'in_stock') Create Sale @endif Edit Details
@csrf @method('DELETE')

Timeline

Added to Inventory

{{ $inventory->created_at->format('d M, Y h:i A') }}

@if($inventory->updated_at != $inventory->created_at)

Last Updated

{{ $inventory->updated_at->format('d M, Y h:i A') }}

@endif