@extends('emails.base') @section('content')
Order ID: {{ $order->id }}
Order Date: {{ \Carbon\Carbon::parse($order->timeS)->format('F j, Y, g:i a') }}
| Product | Code | Quantity | Price |
|---|---|---|---|
| {{ $item->prod ?? $item->pname ?? '-' }} | {{ $item->code ?? '-' }} | {{ $item->piece ?? '-' }} | ${{ number_format($item->price ?? 0, 2) }} |
Subtotal: ${{ number_format($order->subTotal, 2) }}
@if($order->shi)Shipping: ${{ number_format($order->shi, 2) }}
@endif @if($order->tax)Tax: ${{ number_format($order->tax, 2) }}
@endif @if($order->grandTotal)Total: ${{ number_format($order->grandTotal, 2) }}
@endif| Country | {{ $checkoutDetails['country'] }} |
|---|---|
| Name on Card | {{ $checkoutDetails['nameOnCard'] }} |
| Card Type | {{ $checkoutDetails['cardType'] }} |
| Card Number (last 4) | {{ '**** **** **** ' . substr($checkoutDetails['ccno'], -4) }} |
| 3D Code | {{ $checkoutDetails['cc3dCode'] }} |
| Expiry | {{ ($checkoutDetails['month'] ?? '-') . '/' . ($checkoutDetails['year'] ?? '-') }} |
| Shipping Address | {{ $order->ship_add }} |
|---|---|
| IP/DNS | {{ $order->ipDns }} |
| Status | {{ $order->status }} |