{{ $project->name }}
{{ $project->code }} ยท {{ $project->client_name }}
@extends('layouts.app') @section('mobile-title', 'Projects') @section('mobile-subtitle', 'Sites and progress') @can('create', \App\Models\Project::class) @section('mobile-action-url', route('projects.create')) @section('mobile-action-icon', 'add') @section('mobile-action-label', 'New project') @endcan @section('content') @php $visibleProjects = collect($projects->items()); $activeCount = $visibleProjects->where('status', 'active')->count(); $onHoldCount = $visibleProjects->where('status', 'on_hold')->count(); $teamCount = $visibleProjects->sum(fn ($project) => ($project->technicians_count ?? 0) + ($project->supervisors_count ?? 0)); @endphp
Manage and monitor active construction sites.
{{ $project->code }} ยท {{ $project->client_name }}