{{ $project->name }}

@if (session('success')) @endif @if (session('error')) @endif

Project Details

Client

{{ $project->client->company_name ?? 'N/A' }}

Creation Date

{{ $project->created_at->format('F d, Y') }}

Status

@php $status_classes = [ 'Planning' => 'bg-blue-100 text-blue-800', 'In Progress' => 'bg-yellow-100 text-yellow-800', 'Completed' => 'bg-green-100 text-green-800', 'On Hold' => 'bg-gray-200 text-gray-800', 'Cancelled' => 'bg-red-100 text-red-800', ]; @endphp {{ $project->status }}

Timeline

@if($project->start_date && $project->end_date) {{ $project->start_date->format('M d, Y') }} - {{ $project->end_date->format('M d, Y') }} @else Not defined @endif

Description

{{ $project->description ?? 'No description available.' }}

Status Notes

{{ $project->status_notes ?? 'No status notes available.' }}

Primary Contact

{{ $project->client->contact_person_name ?? 'Not specified' }} @if($project->client->email) {{ $project->client->email }} @endif

@if($project->main_gdrive_folder_url)

Google Drive Folder

View Folder

@endif
@if($project->documents->isNotEmpty())

Supporting Documents

@endif

Project Stats

Zones

{{ $project->zones_count }}

Items

{{ $project->items_count }}

Completion

{{ number_format($project->completion_percentage, 1) }}%

Recent Activity

    @forelse($activities as $activity)
  • @if(!$loop->last) @endif
    @php $desc = strtolower($activity->description); if(strpos($desc, 'deleted') !== false) { $icon = 'delete'; } elseif(strpos($desc, 'created') !== false) { $icon = 'plus'; } elseif(strpos($desc, 'updated') !== false) { $icon = 'check'; } else { $icon = 'info'; } @endphp @if($icon === 'delete') @elseif($icon === 'plus') @elseif($icon === 'check') @else @endif

    {{ $activity->description }}

  • @empty
  • No recent activity to display.
  • @endforelse
@if(count($activities) > 5) @endif
@push('scripts') @endpush