@extends('layouts.app') @section('content')

Customer: {{ $customer->name }}

Email: {{ $customer->email }}

Phone: {{ $customer->phone ?? 'N/A' }}

Address: {{ $customer->address ?? 'N/A' }}

Company: {{ $customer->company_name ?? 'N/A' }}

@if($customer->quotes->isEmpty())

No quotes for this customer.

@else
@foreach($customer->quotes as $quote) @endforeach
ID Service Total Date Action
{{ $quote->id }} {{ $quote->service_type }} ${{ number_format($quote->total, 2) }} {{ $quote->created_at->format('d M Y') }} View
@endif
Back to Customers
@endsection