@extends('emails.layout') @section('email-content')
Thank you for your purchase, {{ $order->customer->name ?? 'Customer' }}.
Your order has been received and is being processed. We'll send you another email once it ships.
| Order Number | {{ $order->order_number }} |
| Date | {{ $order->created_at->format('M d, Y h:i A') }} |
| Total Amount | ${{ number_format($order->total, 2) }} |
| Payment | {{ ucfirst($order->payment_method ?? 'Pending') }} |
| Status | {{ ucfirst(str_replace('_', ' ', $order->status)) }} |
| Shipping To | @if(is_array($order->shipping_address)) {{ $order->shipping_address['address_line1'] ?? '' }} {{ $order->shipping_address['city'] ?? '' }}, {{ $order->shipping_address['state'] ?? '' }} {{ $order->shipping_address['postal_code'] ?? '' }} @else {{ $order->shipping_address }} @endif |
| {{ $item->product_name ?? 'Product' }} x {{ $item->quantity }} | ${{ number_format($item->subtotal ?? ($item->price * $item->quantity), 2) }} |
Need help? Contact us at support@mebuy.com