@extends('admin.layout.template') @section('title', 'Project Details') @section('content')

{{ $project->project_name }} ({{ $project->project_number }})

Customer: {{ $project->customer_name }} ({{ $project->customer_phone }})

Address: {{ $project->address }}

Expected Completion: {{ $project->expected_completion_date }}

Project Type: {{ $project->project_type }}

@foreach($project->areas as $area)
Area: {{ $area->area_name }} @if($area->room) (Room: {{ $area->room->name }}) @endif
@if($area->items->count() > 0) @foreach($area->items as $item) @endforeach
# Category Product Variant Quantity Measurement
{{ $loop->iteration }} {{ ucfirst($item->category) }} {{ $item->product?->name }} {{ $item->variant?->sku }} {{ $item->quantity }} @if($item->measurement) W: {{ $item->measurement->width ?? '-' }} H: {{ $item->measurement->height ?? '-' }} L: {{ $item->measurement->length ?? '-' }} @else - @endif
@else

No items added for this area.

@endif
@endforeach Back to Projects
@endsection