@extends('layouts.app') @section('title', 'Dashboard') @section('breadcrumb')Dashboard@endsection @section('content') @php $userRole = $userRole ?? auth()->user()->role?->name ?? 'staff'; @endphp {{-- ═══════════════════ TRADES DASHBOARD ═══════════════════ --}} @if($userRole === 'trades')
Welcome back, {{ auth()->user()->name }}. Here's your work summary.
No active jobs assigned to you.
Welcome back, {{ auth()->user()->name }}. Here's what's happening today.
| Job | Client | Stage | Value |
|---|---|---|---|
|
{{ $job->job_number }}
{{ $job->project_type ? ucfirst($job->project_type) : 'Kitchen' }}
|
{{ $job->contact?->full_name ?? '—' }}
{{ $job->site_suburb }}
|
{{ $job->stageLabel() }} |
${{ number_format($job->job_value ?? 0) }}
|
| No jobs yet | |||
No upcoming events
@endforelseNo pending tasks
@endforelseNo leads yet
@endforelseNo quotes yet
@endforelse{{ $pipeline['contracts'] }} job(s) at contracts stage
No jobs at contracts stage
{{ $pipeline['processing'] }} job(s) in production
No jobs in processing
{{ $pipeline['delivery'] }} job(s) awaiting delivery
No jobs awaiting delivery
{{ $pipeline['installation'] }} installing · {{ $pipeline['completion'] }} completing
No jobs in installation or completion