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

FOC Report

Track and analyze damaged inventory items

@endsection @section('content')
filter_list Filters
warning FOC Report ({{ $damagedItems->total() }} total items)
Loading...
Loading damaged items data...
@forelse($damagedItems as $item) @empty @endforelse
Date Item Category Quantity Source Status Total Cost FOC Status 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 }}
{{ number_format($item->total_cost, 2) }}
{{ number_format($item->foc_available, 2) }} Avail
@if($item->foc_dispatched > 0)
{{ number_format($item->foc_dispatched, 2) }} Issued
@endif
@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