@extends('panel::layouts.app') @section('title', __('panel/menu.orders')) @section('page-title-right')
@foreach ($next_statuses as $status) @endforeach {{ panel_trans('order.print') }} @hookinsert('panel.orders.info.print.after')
{{ __('panel/order.comment') }}
@endsection @section('content')
{{ __('panel/order.order_info') }}
{{ __('panel/order.number') }}:

{{ $order->number }}

{{ __('panel/order.customer_name') }}:

{{ $order->customer_name ?? ($order->customer->name ?? '') }}

{{ __('panel/order.created_at') }}:

{{ $order->created_at }}

{{ __('panel/common.status') }}:
{{ $order->status_format }}
{{ __('panel/order.total') }}:

{{ $order->total_format }}

{{ __('panel/order.billing_method_name') }}:

{{ $order->billing_method_name }}

{{ __('panel/order.shipping_method_name') }}:

{{ $order->shipping_method_name }}

{{ __('panel/order.email') }}:

{{ $order->email }}

@hookinsert('panel.orders.info.order_info.after')
{{ __('panel/order.order_items') }}
@hookupdate('panel.orders.info.order_items') @foreach ($order->items as $item) @endforeach @foreach ($order->fees as $total) @endforeach
{{ __('panel/common.id') }} {{ __('panel/order.product') }} {{ __('panel/order.sku_code') }} {{ __('panel/order.quantity') }} {{ __('panel/order.unit_price') }} {{ __('panel/order.subtotal') }}
{{ $item->id }}
{{ $item->name }}
@if ($item->productSku->variantLabel ?? '') {{ $item->productSku->variantLabel }} @endif @if ($item->item_type_label) {{ $item->item_type_label }} @endif
{{ $item->product_sku }} {{ $item->quantity }} {{ $item->price_format }} {{ $item->subtotal_format }}
{{ $total->title }} {{ $total->value_format }}
{{ __('panel/order.total') }} {{ $order->total_format }}
@endhookupdate
@hookinsert('panel.orders.info.order_items.after')
{{ __('panel/order.address') }}
{{ __('panel/order.shipping_address') }}

{{ __('common/address.name') }}: {{ $order->shipping_customer_name }}

{{ __('common/address.phone') }}: {{ $order->shipping_telephone }}

{{ __('common/address.zipcode') }}: {{ $order->shipping_zipcode }}

{{ __('common/address.address_1') }}: {{ $order->shipping_address_1 }}

@if ($order->shipping_address_2)

{{ __('common/address.address_2') }}: {{ $order->shipping_address_2 }}

@endif

{{ __('common/address.region') }}: {{ $order->shipping_city }}, {{ $order->shipping_state }} , {{ $order->shipping_country }}

{{ __('panel/order.billing_address') }}

{{ __('common/address.name') }}: {{ $order->billing_customer_name }}

{{ __('common/address.phone') }}: {{ $order->billing_telephone }}

{{ __('common/address.zipcode') }}: {{ $order->billing_zipcode }}

{{ __('common/address.address_1') }}: {{ $order->billing_address_1 }}

@if ($order->billing_address_2)

{{ __('common/address.address_2') }}: {{ $order->billing_address_2 }}

@endif

{{ __('common/address.region') }}: {{ $order->billing_city }}, {{ $order->billing_state }} , {{ $order->billing_country }}

@hookinsert('panel.orders.info.addresses.after')
{{ __('front/checkout.order_comment') }}
{{ __('panel/order.customer_remarks') }}

{{ $order->comment }}

{{ __('panel/order.administrator_remarks') }}

{{ $order->admin_note }}

@hookinsert('panel.orders.info.comment.after')
{{ __('panel/order.shipping_information') }}
@foreach ($order->shipments as $shipment) @endforeach
ID {{ __('panel/order.express_company') }} {{ __('panel/order.express_number') }} {{ __('panel/order.create_time') }} {{ __('panel/order.operation') }}
{{ $shipment->id }} {{ $shipment->express_company }} {{ $shipment->express_number }} {{ $shipment->created_at }}
@hookinsert('panel.orders.info.shipping.after')
{{ __('panel/order.history') }}
@foreach ($order->histories->sortByDesc('id') as $history) @endforeach
{{ __('panel/order.status') }} {{ __('panel/order.comment') }} {{ __('panel/order.date_time') }}
{{ $history->status }} {{ $history->comment }} {{ $history->created_at }}
@hookinsert('panel.orders.info.history.after') @endsection @push('footer') @endpush