@extends('layouts.admin-simple') @section('title', 'Damaged Items Report') @section('breadcrumb') @endsection @section('page-title')

Damaged Items Report

Track and analyze damaged inventory items

@endsection @section('content')
filter_list Filters
clear Clear
warning Damaged Items Report ({{ $damagedItems->total() }} total items)
@forelse($damagedItems as $item) @empty @endforelse
Date Item Category Quantity Source Status Total Cost Project Actions
{{ $item->created_at->format('d M Y') }}
warning
{{ Str::limit($item->item->item_description ?? 'Unknown Item', 45) }}
{{ $item->item->item_code ?? 'No code' }}
{{ $item->item->category->category_name ?? 'No Category' }} {{ number_format($item->quantity, 2) }}
{{ $item->unit }}
{{ $sourceTypes[$item->source_type] ?? $item->source_type }} {{ $statuses[$item->status] ?? $item->status }} AED {{ number_format($item->total_cost, 2) }} @if($item->project)
{{ Str::limit($item->project->project_name, 20) }}
{{ $item->project->project_number }}
@else No project @endif
warning
No Damaged Items Found

No damaged items match your current filters.

@if($damagedItems->hasPages()) @endif
@endsection @push('styles') @endpush @push('scripts') @endpush