@extends('emails.partials.base_template') @section('title', 'Your Quote is Ready!') @section('subtitle', 'We have prepared a competitive quote for your vehicle transport') @section('content')
Hello {{ $quote->customer_name }},
Great news! We have prepared a competitive quote for your vehicle transport request. Our team has analyzed your specific route and vehicle requirements to provide you with the best possible pricing.
Your Quote is Ready! We've prepared a competitive quote based on your specific requirements and current market rates.
@if($quote->quote_price && ($quote->company_price || $quote->trucker_price)) {{-- Two-Step Pricing Display --}}

Pricing Structure

@if($quote->company_price && $quote->trucker_price) {{-- Both payments present - show two-step structure --}}
Payment 1 - Initial Payment
${{ number_format($quote->company_price, 2) }}
Secure your booking with this initial payment
Payment 2 - Final Payment
${{ number_format($quote->trucker_price, 2) }}
Complete payment upon successful delivery
Total Service Cost
${{ number_format($quote->quote_price, 2) }}
Complete service cost • No hidden fees
@else {{-- Single payment or total only --}}
Your Service Cost
${{ number_format($quote->quote_price, 2) }}
All-inclusive pricing • No hidden fees
@endif
@elseif($quote->quote_price) {{-- Fallback to simple pricing --}}
Your Service Cost
${{ number_format($quote->quote_price, 2) }}
All-inclusive pricing • No hidden fees
@endif

Quote Details

Quote ID: #{{ $quote->id }}
Vehicle: @if(is_array($quote->vehicle_info)) {{ trim(($quote->vehicle_info['year'] ?? '') . ' ' . ($quote->vehicle_info['make'] ?? '') . ' ' . ($quote->vehicle_info['model'] ?? '')) ?: 'N/A' }} @else {{ $quote->vehicle_info ?? 'N/A' }} @endif
@if(is_array($quote->vehicle_info) && isset($quote->vehicle_info['color']))
Color: {{ ucfirst($quote->vehicle_info['color']) }}
@endif @if(is_array($quote->vehicle_info) && isset($quote->vehicle_info['condition']))
Condition: {{ ucfirst(str_replace('-', ' ', $quote->vehicle_info['condition'])) }}
@endif
Service Type: {{ ucfirst($quote->service_type ?? 'Standard Transport') }}

Route Details

Pickup Location: @if(is_array($quote->pickup_location)) {{ $quote->pickup_location['address'] ?? 'N/A' }} @else {{ $quote->pickup_location ?? 'N/A' }} @endif
Delivery Location: @if(is_array($quote->delivery_location)) {{ $quote->delivery_location['address'] ?? 'N/A' }} @else {{ $quote->delivery_location ?? 'N/A' }} @endif
@if($quote->special_requirements)

Special Requirements

{{ $quote->special_requirements }}
@endif

What's Included

Accept Quote Reject Quote
Quote Expiration: This quote is valid for 7 days. Please make your decision soon to secure this competitive pricing.
Need More Information?
You can view your complete quote details and make your decision by clicking the buttons above or visiting: View Quote Details
Questions About This Quote?
If you have any questions about this quote, pricing, or our services, please don't hesitate to contact us at {{ $companySettings['companyPhone'] }} or {{ $companySettings['companyEmail'] }}. Our team is here to help!
Thank you for considering {{ $companySettings['companyName'] }} for your vehicle transportation needs. We look forward to providing you with excellent service!
@endsection