@extends('layouts.app') @section('title', 'Installation') @section('breadcrumb')Installation@endsection @section('content')

Installation

Manage on-site cabinet installation schedules and progress

Schedule Installation
@forelse($installations as $installation) @empty @endforelse
Job Client Lead Installer Start Date Est. Completion Status Progress
{{ $installation->job?->job_number ?? '—' }}
{{ $installation->job?->project_type ? implode(', ', array_map('ucfirst', (array)$installation->job->project_type)) : '' }}
{{ $installation->job?->contact?->full_name ?? '—' }} {{ $installation->leadInstaller?->name ?? '—' }} {{ $installation->start_date?->format('d M Y') ?? '—' }} {{ $installation->estimated_completion?->format('d M Y') ?? '—' }} @php $sc = match($installation->status) { 'scheduled' => 'blue', 'in_progress' => 'yellow', 'completed' => 'green', 'on_hold' => 'orange', default => 'gray' }; @endphp {{ ucwords(str_replace('_', ' ', $installation->status)) }}
{{ $installation->progress_pct ?? 0 }}%
No installations found.
@if($installations->hasPages())
{{-- Previous Page Link --}} @if ($installations->onFirstPage()) « Previous @else « Previous @endif {{-- Pagination Elements --}}
@foreach ($installations->getUrlRange(1, $installations->lastPage()) as $page => $url) {{ $page }} @endforeach
{{-- Next Page Link --}} @if ($installations->hasMorePages()) Next » @else Next » @endif
@endif
@endsection