@extends('layouts.app') @section('title', 'Job Variants — ' . $job->job_number) @section('breadcrumb'){{ $job->job_number }} Variants@endsection @section('content') @if(session('success'))

{{ session('success') }}

@endif

Job Variants

{{ $job->job_number }} · {{ $job->contact?->full_name }}

@forelse($job->variants->sortByDesc('created_at') as $variant)

{{ $variant->name }}

{{ ucfirst($variant->status) }}
@if($variant->quote)

Linked quote: {{ $variant->quote->quote_number }}

@endif
@if($variant->price_adjustment != 0)
{{ $variant->price_adjustment > 0 ? '+' : '' }}${{ number_format(abs($variant->price_adjustment), 2) }}
price adjustment
@endif
@if($variant->description)

{{ $variant->description }}

@endif @if($variant->client_notes)

Client notes:

{{ $variant->client_notes }}

@endif @if($variant->internal_notes)

Internal notes:

{{ $variant->internal_notes }}

@endif @if($variant->responded_at)

Responded by {{ $variant->respondedBy?->name }} on {{ $variant->responded_at->format('d M Y') }}

@endif @if($variant->status === 'pending')
@csrf
@csrf
@csrf @method('DELETE')
@endif
@empty

No variants yet for this job.

Add a variant below to track quote options presented to the client.

@endforelse
{{-- Sidebar: Add Variant --}}

Add Variant

@csrf
@if($errors->any())
@endif @endsection