@component('shop::emails.layouts.master')
{{ __('shop::app.mail.order.heading') }}

{{ __('shop::app.mail.order.dear-admin', ['admin_name' => config('mail.from.name')]) }},

{!! __('shop::app.mail.order.greeting-admin', [ 'order_id' => '#' . $order->increment_id . '', 'created_at' => $order->created_at ]) !!}

{{ __('shop::app.mail.order.summary') }}
{{ __('shop::app.mail.order.shipping-address') }}
{{ $order->shipping_address->name }}
{{ $order->shipping_address->address1 }}, {{ $order->shipping_address->state }}
{{ core()->country_name($order->shipping_address->country) }} {{ $order->shipping_address->postcode }}
---
{{ __('shop::app.mail.order.contact') }} : {{ $order->shipping_address->phone }}
{{ __('shop::app.mail.order.shipping') }}
{{ $order->shipping_title }}
{{ __('shop::app.mail.order.billing-address') }}
{{ $order->billing_address->name }}
{{ $order->billing_address->address1 }}, {{ $order->billing_address->state }}
{{ core()->country_name($order->billing_address->country) }} {{ $order->billing_address->postcode }}
---
{{ __('shop::app.mail.order.contact') }} : {{ $order->billing_address->phone }}
{{ __('shop::app.mail.order.payment') }}
{{ core()->getConfigData('sales.paymentmethods.' . $order->payment->method . '.title') }}
@foreach ($order->items as $item) @if ($html = $item->getOptionDetailHtml())
@endif @endforeach
{{ __('shop::app.customer.account.order.view.SKU') }} {{ __('shop::app.customer.account.order.view.product-name') }} {{ __('shop::app.customer.account.order.view.price') }} {{ __('shop::app.customer.account.order.view.qty') }}
{{ $item->child ? $item->child->sku : $item->sku }} {{ $item->name }} {{ core()->formatPrice($item->price, $order->order_currency_code) }} {{ $item->qty_ordered }}
{{ __('shop::app.mail.order.subtotal') }} {{ core()->formatBasePrice($order->base_sub_total) }}
{{ __('shop::app.mail.order.shipping-handling') }} {{ core()->formatBasePrice($order->base_shipping_amount) }}
{{ __('shop::app.mail.order.tax') }} {{ core()->formatBasePrice($order->base_tax_amount) }}
@if ($order->discount_amount > 0)
{{ __('shop::app.mail.order.discount') }} {{ core()->formatBasePrice($order->base_discount_amount) }}
@endif
{{ __('shop::app.mail.order.grand-total') }} {{ core()->formatBasePrice($order->base_grand_total) }}

{!! __('shop::app.mail.order.help', [ 'support_email' => '' . env('ADMIN_MAIL_TO'). '' ]) !!}

{{ __('shop::app.mail.order.thanks') }}

@endcomponent