@extends('layouts.admin-simple') @section('title', 'Inventory Report') @section('breadcrumb')
Comprehensive inventory analysis with pricing insights
| Item Code | Description | Category | Unit | Quantity | Avg Unit Price | Price Range | Total Value | Production | Expiry | Divisions | Status | Actions |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $item->item_code }} | {{ Str::limit($item->item_description, 50) }} | {{ $item->category }} | {{ $item->unit_of_measure }} | {{ number_format($item->total_quantity, 2) }} | AED {{ number_format($item->average_unit_price, 2) }} |
@if($item->min_price > 0 && $item->max_price > 0)
Min: AED {{ number_format($item->min_price, 2) }} Max: AED {{ number_format($item->max_price, 2) }} @else - @endif |
AED {{ number_format($item->total_value, 2) }} | {{ $item->latest_production_date ? $item->latest_production_date->format('d M Y') : '-' }} |
@if($item->latest_expiry_date)
@php
$daysUntilExpiry = now()->diffInDays($item->latest_expiry_date, false);
@endphp
{{ $item->latest_expiry_date->format('d M Y') }}
@if($daysUntilExpiry < 0)
Expired @elseif($daysUntilExpiry <= 30) {{ $daysUntilExpiry }} days @endif @else - @endif |
@if(count($item->divisions) > 0) {{ implode(', ', array_column($item->divisions->toArray(), 'name')) }} @else - @endif | {{ ucfirst(str_replace('_', ' ', $item->overall_status)) }} | visibility |
inventory
No Inventory Items FoundNo items match your current filters. |
||||||||||||