{{ $companyName }}

{{ __('email.common.greeting', ['name' => $order->client?->first_name ?? __('email.common.customer')]) }}

{{ __('email.order_confirmation.thank_you') }}

{{ __('email.order_confirmation.order_id') }}#{{ $order->id }}
{{ __('email.common.date_label') }}{{ $order->created_at?->format('M d, Y') ?? now()->format('M d, Y') }}
{{ __('email.order_confirmation.payment_method') }}{{ $order->payment_method ?? 'N/A' }}
@if($order->items && count($order->items) > 0)

{{ __('email.order_confirmation.order_items') }}

@foreach($order->items as $item) @endforeach
{{ __('email.common.item_label') }} {{ __('email.common.domain_label') }} {{ __('email.common.price_label') }}
{{ $item->product?->name ?? __('email.common.service') }} {{ $item->domain ?? '-' }} ${{ number_format((float)($item->price ?? 0), 2) }}
{{ __('email.common.total_label') }} ${{ number_format((float)$order->total, 2) }}
@endif

{{ __('email.order_confirmation.setup_shortly') }}

{{ $companyName }}