Manage Section: {{ $section->name }}

Back to Project

{{ $section->name }}

{{ $section->description ?: 'No description provided.' }}

Edit
@csrf @method('DELETE')

Add a New Zone

@csrf
@forelse($zones as $zone)

{{ $zone->name }}

{{ $zone->items->count() }} {{ Str::plural('item', $zone->items->count()) }} 🔗
Edit
@csrf @method('DELETE')
Items
@if($zone->items->isEmpty())

No items have been added to this zone yet.

@else
    @foreach($zone->items as $item)
  • {{ $item->name }}

    @if($item->description)

    {{ $item->description }}

    @endif

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

    @if($item->design_quantity > 0) @php $cumulative_surveyed = $item->latestProgressRecord->cumulative_surveyed_quantity ?? 0; $itemProgressPercentage = ($cumulative_surveyed / $item->design_quantity) * 100; $itemProgressPercentage = min(100, max(0, $itemProgressPercentage)); @endphp
    {{ number_format($itemProgressPercentage, 1) }}% complete ({{ number_format($cumulative_surveyed, 2) }} / {{ number_format($item->design_quantity, 2) }} {{ $item->display_unit }})
    @endif
    Edit
    @csrf @method('DELETE')
    Record Progress
  • @endforeach
@endif
Add New Item
@csrf
\n
\n \n \n
@empty

No zones have been added to this section yet. Use the form above to add one.

@endforelse @if(request('open_zone')) @endif