FOC CONVERSION REPORT
Conversion ID: CON-{{ str_pad($conversion->id, 5, '0', STR_PAD_LEFT) }}
Date: {{ $conversion->created_at->format('d/m/Y H:i') }}
Reported By: {{ $conversion->reportedBy->name ?? 'System' }}
Source:
@switch($conversion->source_type)
@case('inventory_conversion')
Inventory Conversion
@break
@case('site_return')
Site Return
@break
@default
{{ ucfirst($conversion->source_type) }}
@endswitch
Status:
{{ ucfirst(str_replace('_', ' ', $conversion->status)) }}
Cost Responsibility: {{ ucfirst(str_replace('_', ' ', $conversion->cost_responsibility ?? 'Unknown')) }}
| Item Description |
{{ $conversion->inventory->item->item_description ?? 'N/A' }} |
| Item Code |
{{ $conversion->inventory->item->item_code ?? 'NO-CODE' }} |
| Category |
{{ $conversion->inventory->item->category->category_name ?? 'N/A' }} |
| Unit of Measure |
{{ $conversion->inventory->item->unit_of_measure ?? 'PCS' }} |
| Location |
{{ $conversion->inventory->location ?? 'Main Warehouse' }} |
| Converted Quantity |
{{ number_format($conversion->quantity, 2) }} {{ $conversion->inventory->item->unit_of_measure ?? 'PCS' }} |
Damage Information
Damage Severity:
{{ ucfirst(str_replace('_', ' ', $conversion->damage_severity ?? 'Moderate')) }}
Description:
{{ $conversion->damage_description ?? 'No description provided' }}
@if($conversion->damage_notes)
Additional Notes:
{{ $conversion->damage_notes }}
@endif
Cost Impact Analysis
Unit Cost: AED {{ number_format($conversion->unit_cost ?? 0, 2) }}
Total Cost: AED {{ number_format($conversion->total_cost ?? 0, 2) }}
Recoverable Amount: AED {{ number_format($conversion->recoverable_amount ?? 0, 2) }}
Total Loss:
AED {{ number_format($conversion->total_loss ?? 0, 2) }}
@if($conversion->approvedBy)
Approval Information
Approved By: {{ $conversion->approvedBy->name }}
Approval Date: {{ $conversion->approved_at ? $conversion->approved_at->format('d/m/Y H:i') : 'N/A' }}
@if($conversion->resolution_notes)
Resolution Notes:
{{ $conversion->resolution_notes }}
@endif
@endif
Reported By (Sign & Date)
Warehouse Manager
Approved By (Sign & Date)