@if ($order)
{{ __('Order information') }}

{{ __('Order number') }}: {{ $order->code }}

{{ __('Time') }}: {{ $order->created_at->translatedFormat('h:m d/m/Y') }}

{{ __('Order status') }}: {{ $order->status->label() }}

@if (is_plugin_active('payment'))

{{ __('Payment method') }}: {{ $order->payment->payment_channel->label() }}

{{ __('Payment status') }}: {{ $order->payment->status->label() }}

@endif @if ($order->description)

{{ __('Note') }}: {{ $order->description }}

@endif
@if ($order->address->name)
{{ __('Customer information') }}

{{ __('Full Name') }}: {{ $order->address->name }}

{{ __('Phone') }}: {{ $order->address->phone }}

{{ __('Address') }}: {{ $order->address->address }}

{{ __('City') }}: {{ $order->address->city_name }}

{{ __('State') }}: {{ $order->address->state_name }}

{{ __('Country') }}: {{ $order->address->country_name }}

@if (EcommerceHelper::isZipCodeEnabled())

{{ __('Zip code') }}: {{ $order->address->zip_code }}

@endif
@endif

{{ __('Order detail') }}
@foreach ($order->products as $orderProduct) @endforeach
# {{ __('Image') }} {{ __('Product') }} {{ __('Amount') }} {{ __('Quantity') }} {{ __('Total') }}
{{ $loop->iteration }} {{ $orderProduct->product_name }} {{ $orderProduct->product_name }} @if ($sku = Arr::get($orderProduct->options, 'sku')) ({{ $sku }}) @endif @if ($attributes = Arr::get($orderProduct->options, 'attributes'))

{{ $attributes }}

@endif @include('plugins/ecommerce::themes.includes.cart-item-options-extras', ['options' => $orderProduct->options]) @if (! empty($orderProduct->product_options) && is_array($orderProduct->product_options)) {!! render_product_options_html($orderProduct->product_options, $orderProduct->price) !!} @endif
{{ format_price($orderProduct->price_with_tax) }} {{ $orderProduct->qty }} {{ format_price($orderProduct->total_price_with_tax) }}

{{ __('Shipping fee') }}: {{ format_price($order->shipping_amount) }}

{{ __('Total Amount') }}: {{ format_price($order->amount) }}

@if ($order->shipment->id)
{{ __('Shipping Information') }}:

{{ __('Shipping Status') }}: {!! BaseHelper::clean($order->shipment->status->toHtml()) !!}

@if ($order->shipment->shipping_company_name)

{{ __('Shipping Company Name') }}: {{ $order->shipment->shipping_company_name }}

@endif @if ($order->shipment->tracking_id)

{{ __('Tracking ID') }}: {{ $order->shipment->tracking_id }}

@endif @if ($order->shipment->tracking_link)

{{ __('Tracking Link') }}: {{ $order->shipment->tracking_link }}

@endif @if ($order->shipment->note)

{{ __('Delivery Notes') }}: {{ $order->shipment->note }}

@endif @if ($order->shipment->estimate_date_shipped)

{{ __('Estimate Date Shipped') }}: {{ $order->shipment->estimate_date_shipped }}

@endif @if ($order->shipment->date_shipped)

{{ __('Date Shipped') }}: {{ $order->shipment->date_shipped }}

@endif @endif
@elseif (request()->input('order_id') || request()->input('email'))

{{ __('Order not found!') }}

@endif