📚 Book Purchase Confirmation

Thank you for your purchase!

Order Details

Order Number: {{ $order->order_number }}

Order Date: {{ $order->created_at->format('F j, Y \a\t g:i A') }}

Customer: {{ $order->customer_name }}

Email: {{ $order->customer_email }}

Status: {{ ucfirst($order->order_status) }}

Books Purchased

@foreach($order->orderItems as $item)
{{ $item->book_title }}
by {{ $item->book_author }}
Quantity: {{ $item->quantity }} × ${{ number_format($item->price, 2) }}
@endforeach
Subtotal: ${{ number_format($order->subtotal, 2) }}
@if($order->tax_amount > 0)
Tax: ${{ number_format($order->tax_amount, 2) }}
@endif @if($order->shipping_amount > 0)
Shipping: ${{ number_format($order->shipping_amount, 2) }}
@endif
Total: ${{ number_format($order->total_amount, 2) }}

📥 Your Digital Books

Your purchased books are attached to this email as PDF files. You can download them directly to your device.

Note: Please save these files to your device as they will be available for download for a limited time.