@component('mail::message') # Your Order has been Successful We'll let you know as soon as your items have shipped. To change or view your order, please view your account by clicking the button below. @component('mail::subcopy') @endcomponent **Order Number:** #{{ $order->identifier }}
**Order Date:** {{ $order->formatted_dates->created_at }} @component('mail::subcopy') @endcomponent @component('mail::table') | Product | Qty | Sub Total | VAT | Total | | :------ | --: | --------: | --: | ----: | @foreach ($order->line_items as $line_item) @php $productText = "" . $line_item->product->name . ""; if ($line_item->addons || $line_item->field_id || $line_item->remove_clover) { $productText .= ""; } @endphp | {!! $productText !!} | {{ ($line_item->quantity * 1) }} {{ $line_item->unit_text }} | £{{ number_format($line_item->sub_total, 2) }} | £{{ number_format($line_item->vat_total, 2) }} | £{{ number_format($line_item->total, 2) }} | @endforeach @endcomponent @component('mail::table') | | | | :-- | --: | | Sub Total | £ {{ $order->sub_total }} | | Delivery Total | £ {{ $order->delivery_total }} | | VAT Total | £ {{ $order->vat_total }} | | **Total** | **£ {{ $order->total }}** | @endcomponent @component('mail::subcopy') @endcomponent @component('mail::button', ['url' => route('account.orders.order', ['orderId' => $order->id])]) View Order Status @endcomponent @component('mail::subcopy') @endcomponent @component('mail::panel') ## Customer Name: {{ $order->customer->full_name }}
Email: {{ $order->customer->email }}
@if ($order->customer->phone) Phone: {{ $order->customer->phone }} @endif @endcomponent
@component('mail::panel') ## Shipping Address **{{ $order->shipping_address->full_name ? $order->shipping_address->full_name : $order->customer->full_name }}**
{{ $order->shipping_address->line_1 }}
@if ($order->shipping_address->line_2) {{ $order->shipping_address->line_2 }}
@endif @if ($order->shipping_address->line_3) {{ $order->shipping_address->line_3 }}
@endif {{ $order->shipping_address->city }}
{{ $order->shipping_address->county }}
{{ $order->shipping_address->postcode }}
{{ $order->shipping_address->country }} @if ($order->shipping_address->delivery_notes)
**Delivery Notes:** {{ $order->shipping_address->delivery_notes}} @endif @endcomponent
@component('mail::panel') ## Billing Address **{{ $order->billing_address->full_name ? $order->billing_address->full_name : $order->customer->full_name }}**
{{ $order->billing_address->line_1 }}
@if ($order->billing_address->line_2) {{ $order->billing_address->line_2 }}
@endif @if ($order->billing_address->line_3) {{ $order->billing_address->line_3 }}
@endif {{ $order->billing_address->city }}
{{ $order->billing_address->county }}
{{ $order->billing_address->postcode }}
{{ $order->billing_address->country }} @endcomponent @component('mail::subcopy') @endcomponent Thanks,
{{ config('app.name') }} @endcomponent