@component('mail::message')
# Quotation Notification

Dear {{ $lead->name ?? 'Valued Customer' }},

{!! $body !!}

## Quotation Details

**Quotation Number:** {{ $quotation->quotation_number }}
**Created Date:** {{ $quotation->created_at->format('Y-m-d H:i:s') }}

@if($quotation->details->count() > 0)
### Items

| Product | Description | Quantity | Unit | Price | Total |
|---------|-------------|----------|------|-------|-------|
@foreach($quotation->details as $detail)
    @foreach($detail->product_details as $prodDetail)
| {{ $detail->product->name ?? 'N/A' }} | {{ $prodDetail->description }} | {{ $prodDetail->quantity }} | {{ $prodDetail->unit ?? '-' }} | {{ number_format($prodDetail->price, 2) }} | {{ number_format($prodDetail->total, 2) }} |
    @endforeach
@endforeach
@endif

Please review the attached PDF for complete quotation details.

Thank you for your business!

Best regards,
{{ config('app.name') }}
@endcomponent
