{{ __('Detailed Report for Project:') }} {{ $project->name }}

{{ $project->name }}

{{ __('Client:') }} {{ $project->client ? $project->client->name : 'N/A' }}

{{ __('Status:') }} {{ ucfirst(str_replace('_', ' ', $project->status)) }}

{{ __('Start Date:') }} {{ $project->start_date ? $project->start_date->format('M d, Y') : 'N/A' }}

{{ __('End Date:') }} {{ $project->end_date ? $project->end_date->format('M d, Y') : 'N/A' }}

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

{{ __('Key Metrics') }}

{{ __('Completion') }}

{{ $metrics['completion_percentage'] }}%

{{ __('Sections') }}

{{ $metrics['total_sections'] }}

{{ __('Zones') }}

{{ $metrics['total_zones'] }}

{{ __('Items') }}

{{ $metrics['total_items'] }}

{{ __('Project Documents') }}

{{ $metrics['total_project_documents'] }}

{{ __('Project Breakdown') }}

@if($project->sections->isEmpty())

{{ __('No sections found for this project.') }}

@else @foreach($project->sections as $section)

{{ __('Section:') }} {{ $section->name }} ({{ $section->type }})

@if($section->zones->isEmpty())

{{ __('No zones found in this section.') }}

@else @foreach($section->zones as $zone)
{{ __('Zone:') }} {{ $zone->name }}
@if($zone->items->isEmpty())

{{ __('No items found in this zone.') }}

@else
    @foreach($zone->items as $item)
  • {{ $item->name }} ({{ $item->item_type }}) - {{ __('Status:') }} {{ ucfirst(str_replace('_', ' ', $item->status)) }}

    {{ __('Ref:') }} {{ $item->reference_code }} | {{ __('Qty:') }} {{ $item->quantity }}

    @if($item->documents->count() > 0)

    {{ __('Documents:') }} {{ $item->documents->count() }}

    @endif @if($item->activities->count() > 0)

    {{ __('Activities:') }} {{ $item->activities->count() }}

    @endif
  • @endforeach
@endif
@endforeach @endif
@endforeach @endif

{{ __('Project-Level Documents') }}

@if($project->documents->isEmpty())

{{ __('No project-level documents found.') }}

@else @endif

{{ __('Visualizations (Coming Soon)') }}

{{ __('Charts and graphs specific to this project will be displayed here.') }}