{{ __('Manage Item Progress') }}

{{ __('Back to Zone') }}
@php $unit = $item->display_unit; @endphp

{{ $item->name }}

Design Quantity: {{ number_format($item->design_quantity, 2) }} {{ $unit }}

Add New Progress Record

@csrf

Note: This value is the total quantity to date.

Allowed file types: PDF, XLSX, TXT, CSV. Multiple files can be selected.

{{ __('Add Progress Record') }}

Progress History

@php $recordsForTable = $item->monthlyProgressRecords->sortByDesc('created_at')->values(); @endphp @if($recordsForTable->isEmpty())

No progress records yet for this item.

@else
@foreach($recordsForTable as $index => $record) @php $percentage = ($item->design_quantity > 0) ? ($record->cumulative_surveyed_quantity / $item->design_quantity) * 100 : 0; $percentage = min($percentage, 100); // Cap at 100% $change = null; $previousRecordInDescList = $recordsForTable->get($index + 1); if ($previousRecordInDescList) { $change = $record->cumulative_surveyed_quantity - $previousRecordInDescList->cumulative_surveyed_quantity; } @endphp @endforeach
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
{{ number_format($percentage, 1) }}%
@if($record->documents && $record->documents->count() > 0) @else No documents @endif
@csrf @method('DELETE')
@endif