@extends('layouts.admin') @section('title', 'Quote Details') @section('page_heading', 'Quote - ' . $quote->name) @section('page_actions') Back to Quotes @endsection @section('content')
{{ $quote->name }}
{{ $quote->business_name }}
{{ $quote->phone ?? '-' }}
@if ($quote->website) {{ $quote->website }} @else - @endif
{{ $quote->industry ?? '-' }}
@if ($quote->services) {{ implode(', ', $quote->services) }} @else - @endif
{{ $quote->word_count ?? '-' }}
{{ $quote->service_minutes ?? '-' }}
{{ $quote->budget ?? '-' }}
@if ($quote->amount) ${{ number_format((float) $quote->amount, 2) }} @else - @endif
{{ $quote->goal ?? '-' }}
{{ $quote->source ?? '-' }}
{{ $quote->details ?? '-' }}
{{ $quote->created_at?->format('M d, Y \a\t h:i A') ?? '-' }}
Invoice #:
{{ $quote->invoice->invoice_number ?? 'INV-PENDING' }}
Status:
@if ($quote->invoice->status === 'paid')
Paid
@else
Unpaid
@endif
Amount:
${{ number_format((float) $quote->invoice->amount, 2) }}
Current Status:
@if ($quote->status === 'pending')
Pending
@elseif ($quote->status === 'in-progress')
In Progress
@else
Completed
@endif
Delete this quote and all associated data permanently.