Item Details

Detailed information about this item

Back to List @can('edit items') Edit Item @endcan

{{ $item->name }}

@if($item->is_expired) Expired @elseif($item->is_expiring_soon) Expiring Soon @else Normal @endif

Current Stock

{{ $item->stock }} @if($item->stock == 0) Out of Stock @elseif($item->stock < 10) Low Stock @else Available @endif

Category

@switch($item->category) @case('computer') Computer @break @case('laptop') Laptop @break @case('antivirus') Antivirus @break @default Unknown @endswitch
@switch($item->category) @case('computer') @break @case('laptop') @break @case('antivirus') @break @default @endswitch
Description

{{ $item->description ?: 'No description available for this item.' }}

Expiry Information
@if($item->expired_at)
Expiry Date

{{ $item->expired_at->format('d M Y') }}

@if($item->is_expired) @elseif($item->is_expiring_soon) @else @endif @else
No Expiry Date

This item has no expiration date

@endif
Location & Serial
Location

{{ $item->distribution ?: 'Not specified' }}

Serial Number

{{ $item->serial_number ?: 'No serial number' }}

Timestamps
Created

{{ $item->created_at->format('d M Y H:i') }}

Last Updated

{{ $item->updated_at->format('d M Y H:i') }}