@extends('mail.notifications.layout') @section('email-header') @include('mail.partials.brand-header', ['brand' => 'qrplus']) @endsection @section('email-footer') @include('mail.partials.brand-footer', ['brand' => 'qrplus']) @endsection @section('content')

✅ Order Confirmed

Order #{{ $order->id }}

Thanks for your order{{ $order->customer_name ? ', ' . explode(' ', $order->customer_name)[0] : '' }}!

We've received your payment and your order has been sent to {{ $order->qrCode?->label ?? 'the seller' }}. You'll receive updates as your order progresses.

Your Order

@if($order->items && count($order->items) > 0)

Items

@foreach($order->items as $item)
{{ $item['name'] ?? 'Item' }} × {{ $item['qty'] ?? 1 }} GHS {{ number_format(($item['price_ghs'] ?? 0) * ($item['qty'] ?? 1), 2) }}
@endforeach
Total GHS {{ number_format((float) $order->amount_ghs, 2) }}
@endif

Keep this email for your records. If you have any questions, contact the seller directly.

@endsection