Progress Tracking for: {{ $item->name }} (Zone: {{ $item->zone->name }})

Item Details

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

Add New Progress Record

@csrf
@error('survey_month')

{{ $message }}

@enderror

Enter the total quantity surveyed up to this month.

@error('cumulative_surveyed_quantity')

{{ $message }}

@enderror

PDF, JPG, PNG, or HEIC. Max 10MB.

@error('supporting_document')

{{ $message }}

@enderror

Progress History

@if($item->monthlyProgressRecords->isEmpty())

No progress records yet for this item.

@else
@foreach($item->monthlyProgressRecords as $record) @endforeach
Date & Time Submitted Cumulative Surveyed Quantity Progress Document Actions
{{ $record->created_at->format('d M Y H:i') }} {{ number_format($record->cumulative_surveyed_quantity, 2) }} {{ $item->display_unit }} @php $progressPercentage = ($item->design_quantity > 0) ? ($record->cumulative_surveyed_quantity / $item->design_quantity) * 100 : 0; $progressPercentage = min(100, $progressPercentage); // Cap at 100% @endphp
{{ number_format($progressPercentage, 1) }}%
@if($record->document) View Document @else N/A @endif Edit
@csrf @method('DELETE')
@endif