@extends('emails.email-template') @section('content') @php $customer = $customer['first_name'] . ' ' . $customer['last_name'] ?? 'Customer'; $shipping_address = json_decode($shipping_address_data ?? '{}', true); @endphp

Thank you for your order, {{ $customer }}!

We've received your order #{{ $order_no ?? '' }} on {{ isset($created_at) ? \Carbon\Carbon::parse($created_at)->format('F j, Y \a\t g:i A') : '' }}.

Your order is being processed, and we'll notify you once it's on the way.

Delivery Address:

{{ $shipping_address['street_address'] ?? '' }} {{ !empty($shipping_address['address_line2']) ? ', '.$shipping_address['address_line2'] : '' }}
{{ $shipping_address['city'] ?? '' }}, {{ $shipping_address['state'] ?? '' }} - {{ $shipping_address['zip'] ?? '' }}
{{ $shipping_address['country'] ?? '' }}

If you have any questions, contact us at support@tvikla.com

Thank you for shopping with us!

@endsection