inventory_2 Item Information
Item Code: {{ $damagedItem->item->item_code ?? 'No Code' }}
Description: {{ $damagedItem->item->item_description ?? 'No Description' }}
Category: {{ $damagedItem->item->category->category_name ?? 'No Category' }}
warning Damage Details
Quantity: {{ number_format($damagedItem->quantity, 2) }} {{ $damagedItem->item->unit->unit_symbol ?? 'units' }}
Condition: {{ ucfirst($damagedItem->condition) }}
Severity: {{ ucfirst($damagedItem->damage_severity) }}
source Source Information
Source Type: {{ $damagedItem->source_type === 'site_return' ? 'Site Return' : 'Inventory Conversion' }}
Reference: {{ $damagedItem->source_reference ?? 'No Reference' }}
Project: @if($damagedItem->project) {{ $damagedItem->project->project_name }} @else No Project @endif
Date: {{ $damagedItem->created_at->format('d M Y, H:i') }}
attach_money Financial Information
Total Cost:
{{ number_format($damagedItem->total_cost, 2) }}
Recoverable:
{{ number_format($damagedItem->recoverable_amount, 2) }}
Net Loss:
{{ number_format($damagedItem->total_cost - $damagedItem->recoverable_amount, 2) }}
Recovery %: @php $recoveryPercent = $damagedItem->total_cost > 0 ? ($damagedItem->recoverable_amount / $damagedItem->total_cost) * 100 : 0; @endphp {{ number_format($recoveryPercent, 1) }}%
assignment Status & Responsibility
@if($damagedItem->updated_at != $damagedItem->created_at) @endif
Status: {{ ucfirst($damagedItem->status) }}
Responsibility: {{ ucfirst($damagedItem->cost_responsibility) }}
Reported By: {{ $damagedItem->user->name ?? 'Unknown' }}
Last Updated: {{ $damagedItem->updated_at->format('d M Y, H:i') }}
description Description
{{ $damagedItem->damage_description ?? 'No description provided' }}
@if($damagedItem->remarks)
Remarks:
{{ $damagedItem->remarks }}
@endif
@if($focInventory->count() > 0)
recycling FOC Inventory Created from this Damage
@foreach($focInventory as $foc)
Condition: {{ ucfirst($foc->condition) }}
Available: {{ number_format($foc->quantity_available, 2) }}
Location: {{ $foc->storage_location ?? 'Not specified' }}
Status: {{ ucfirst($foc->status) }}
@if($foc->adjustments->count() > 0)
Recent Adjustments: @foreach($foc->adjustments->take(3) as $adjustment)
• {{ ucfirst($adjustment->adjustment_type) }}: {{ $adjustment->quantity_change > 0 ? '+' : '' }}{{ $adjustment->quantity_change }} ({{ $adjustment->created_at->format('d M Y') }})
@endforeach
@endif @if(!$loop->last)
@endif @endforeach
@endif
schedule Timeline
Damage Reported

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

Reported by {{ $damagedItem->user->name ?? 'Unknown' }}
@if($damagedItem->status === 'approved' && $focInventory->count() > 0)
FOC Inventory Created

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

{{ number_format($focInventory->sum('quantity_available'), 2) }} units added to FOC inventory
@endif