Design Quantity: {{ number_format($item->design_quantity, 2) }} {{ $unit }}
No progress records yet for this item.
| Date & Time Submitted | Cumulative Quantity | Change | % of Design | Supporting Document | Actions |
|---|---|---|---|---|---|
| {{ $record->created_at->format('d M Y h:i A') }} | {{ number_format($record->cumulative_surveyed_quantity, 2) }} {{ $unit }} | @if(!is_null($change)) {{ ($change >= 0 ? '+' : '') . number_format($change, 2) }} {{ $unit }} @else N/A @endif |
|
@if($record->documents && $record->documents->count() > 0)
@foreach($record->documents as $document)
@php
$extension = pathinfo($document->name, PATHINFO_EXTENSION);
$icon = 'document';
if ($extension == 'pdf') $icon = 'document-text';
elseif (in_array($extension, ['xlsx', 'xls'])) $icon = 'table';
elseif ($extension == 'txt') $icon = 'document-text';
elseif ($extension == 'csv') $icon = 'table';
@endphp
{{ Str::limit($document->name, 20) }}
@endforeach
@else
No documents
@endif
|