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

{{ __('Back to Sections') }}

{{ $section->name }}

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

@if($section->status_notes)

{{ __('Status Notes') }}: {{ $section->status_notes }}

@endif

{{ __('Add New Item') }}

@if ($errors->any())
{{ __('Whoops! Something went wrong.') }}
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf
{{ __('Save Item') }}

{{ __('Items') }}

@forelse($items as $item) @empty @endforelse
{{ __('Name') }} {{ __('Description') }} {{ __('Design Quantity') }} {{ __('Unit') }} {{ __('Actions') }}
{{ $item->name }} {{ $item->description }} {{ number_format($item->design_quantity, 2) }} {{ $item->display_unit }} {{ __('Progress') }} {{ __('Edit') }}
@csrf @method('DELETE')
{{ __('No items found.') }}

{{ $section->name }}

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

Edit
@csrf @method('DELETE')

Add a New Section

@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
@empty

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

@endforelse document.addEventListener('DOMContentLoaded', function() { var zone = document.getElementById('zone-{{ request('open_zone') }}'); if (zone) { zone.scrollIntoView({ behavior: 'smooth', block: 'center' }); } }); @endif