@extends('admin::layouts.master') @section('page_title') {{ __('admin::app.sales.orders.view-title', ['order_id' => $order->increment_id]) }} @stop @section('content-wrapper')
{!! view_render_event('sales.order.tabs.before', ['order' => $order]) !!}
{{ __('admin::app.sales.orders.order-info') }}
{{ __('admin::app.sales.orders.order-date') }} {{ core()->formatDate($order->created_at, 'Y-m-d H:i:s') }}
{!! view_render_event('sales.order.created_at.after', ['order' => $order]) !!}
{{ __('admin::app.sales.orders.order-status') }} {{ __('admin::app.notification.order-status-messages.'.strtolower($order->status)) }}
{!! view_render_event('sales.order.status_label.after', ['order' => $order]) !!}
{{ __('admin::app.sales.orders.channel') }} {{ $order->channel_name }}
{!! view_render_event('sales.order.channel_name.after', ['order' => $order]) !!}
{{ __('admin::app.sales.orders.account-info') }}
{{ __('admin::app.sales.orders.customer-name') }} {{ $order->customer_full_name }}
{!! view_render_event('sales.order.customer_full_name.after', ['order' => $order]) !!}
{{ __('admin::app.sales.orders.email') }} {{ $order->customer_email }}
{!! view_render_event('sales.order.customer_email.after', ['order' => $order]) !!} @if ( ! is_null($order->customer) && ! is_null($order->customer->group) )
{{ __('admin::app.customers.customers.customer_group') }} {{ $order->customer->group->name }}
@endif {!! view_render_event('sales.order.customer_group.after', ['order' => $order]) !!}
@if ( $order->billing_address || $order->shipping_address )
@if($order->billing_address)
{{ __('admin::app.sales.orders.billing-address') }}
@include ('admin::sales.address', ['address' => $order->billing_address]) {!! view_render_event('sales.order.billing_address.after', ['order' => $order]) !!}
@endif @if ($order->shipping_address)
{{ __('admin::app.sales.orders.shipping-address') }}
@include ('admin::sales.address', ['address' => $order->shipping_address]) {!! view_render_event('sales.order.shipping_address.after', ['order' => $order]) !!}
@endif
@endif
{{ __('admin::app.sales.orders.payment-info') }}
{{ __('admin::app.sales.orders.payment-method') }} {{ core()->getConfigData('sales.paymentmethods.' . $order->payment->method . '.title') }}
{{ __('admin::app.sales.orders.currency') }} {{ $order->order_currency_code }}
@php $additionalDetails = \Webkul\Payment\Payment::getAdditionalDetails($order->payment->method); @endphp @if (! empty($additionalDetails))
{{ $additionalDetails['title'] }} {{ $additionalDetails['value'] }}
@endif {!! view_render_event('sales.order.payment-method.after', ['order' => $order]) !!}
@if ($order->shipping_address)
{{ __('admin::app.sales.orders.shipping-info') }}
{{ __('admin::app.sales.orders.shipping-method') }} {{ $order->shipping_title }}
{{ __('admin::app.sales.orders.shipping-price') }} {{ core()->formatBasePrice($order->base_shipping_amount) }}
{!! view_render_event('sales.order.shipping-method.after', ['order' => $order]) !!}
@endif
@if ($order->base_discount_amount > 0) @endif @foreach ($order->items as $item) @if ($order->base_discount_amount > 0) @endif @endforeach
{{ __('admin::app.sales.orders.SKU') }} {{ __('admin::app.sales.orders.product-name') }} {{ __('admin::app.sales.orders.price') }} {{ __('admin::app.sales.orders.item-status') }} {{ __('admin::app.sales.orders.subtotal') }} {{ __('admin::app.sales.orders.tax-percent') }} {{ __('admin::app.sales.orders.tax-amount') }}{{ __('admin::app.sales.orders.discount-amount') }}{{ __('admin::app.sales.orders.grand-total') }}
{{ $item->getTypeInstance()->getOrderedItem($item)->sku }} {{ $item->name }} @if (isset($item->additional['attributes']))
@foreach ($item->additional['attributes'] as $attribute) {{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
@endforeach
@endif
{{ core()->formatBasePrice($item->base_price) }} {{ $item->qty_ordered ? __('admin::app.sales.orders.item-ordered', ['qty_ordered' => $item->qty_ordered]) : '' }} {{ $item->qty_invoiced ? __('admin::app.sales.orders.item-invoice', ['qty_invoiced' => $item->qty_invoiced]) : '' }} {{ $item->qty_shipped ? __('admin::app.sales.orders.item-shipped', ['qty_shipped' => $item->qty_shipped]) : '' }} {{ $item->qty_refunded ? __('admin::app.sales.orders.item-refunded', ['qty_refunded' => $item->qty_refunded]) : '' }} {{ $item->qty_canceled ? __('admin::app.sales.orders.item-canceled', ['qty_canceled' => $item->qty_canceled]) : '' }} {{ core()->formatBasePrice($item->base_total) }} {{ $item->tax_percent }}% {{ core()->formatBasePrice($item->base_tax_amount) }}{{ core()->formatBasePrice($item->base_discount_amount) }}{{ core()->formatBasePrice($item->base_total + $item->base_tax_amount - $item->base_discount_amount) }}
@csrf()
@{{ errors.first('comment') }}
{{ __('admin::app.sales.orders.notify-customer') }}
    @foreach ($order->comments()->orderBy('id', 'desc')->get() as $comment)
  • @if ($comment->customer_notified) {!! __('admin::app.sales.orders.customer-notified', ['date' => core()->formatDate($comment->created_at, 'Y-m-d H:i:s')]) !!} @else {!! __('admin::app.sales.orders.customer-not-notified', ['date' => core()->formatDate($comment->created_at, 'Y-m-d H:i:s')]) !!} @endif

    {{ $comment->comment }}

  • @endforeach
@if ($order->haveStockableItems()) @endif @if ($order->base_discount_amount > 0) @endif @if($order->status !== 'canceled') @else @endif
{{ __('admin::app.sales.orders.subtotal') }} - {{ core()->formatBasePrice($order->base_sub_total) }}
{{ __('admin::app.sales.orders.shipping-handling') }} - {{ core()->formatBasePrice($order->base_shipping_amount) }}
{{ __('admin::app.sales.orders.discount') }} @if ($order->coupon_code) ({{ $order->coupon_code }}) @endif - {{ core()->formatBasePrice($order->base_discount_amount) }}
{{ __('admin::app.sales.orders.tax') }} - {{ core()->formatBasePrice($order->base_tax_amount) }}
{{ __('admin::app.sales.orders.grand-total') }} - {{ core()->formatBasePrice($order->base_grand_total) }}
{{ __('admin::app.sales.orders.total-paid') }} - {{ core()->formatBasePrice($order->base_grand_total_invoiced) }}
{{ __('admin::app.sales.orders.total-refunded') }} - {{ core()->formatBasePrice($order->base_grand_total_refunded) }}
{{ __('admin::app.sales.orders.total-due') }} -{{ core()->formatBasePrice($order->base_total_due) }}{{ core()->formatBasePrice(0.00) }}
@foreach ($order->invoices as $invoice) @endforeach @if (! $order->invoices->count()) @endif
{{ __('admin::app.sales.invoices.id') }} {{ __('admin::app.sales.invoices.date') }} {{ __('admin::app.sales.invoices.order-id') }} {{ __('admin::app.sales.invoices.customer-name') }} {{ __('admin::app.sales.invoices.status') }} {{ __('admin::app.sales.invoices.amount') }} {{ __('admin::app.sales.invoices.action') }}
#{{ $invoice->increment_id ?? $invoice->id }} {{ core()->formatDate($invoice->created_at, 'Y-m-d H:i:s') }} #{{ $invoice->order->increment_id }} {{ $order->customer_full_name }} {{ $invoice->status_label }} {{ core()->formatBasePrice($invoice->base_grand_total) }}
{{ __('admin::app.common.no-result-found') }}
@foreach ($order->shipments as $shipment) @endforeach @if (! $order->shipments->count()) @endif
{{ __('admin::app.sales.shipments.id') }} {{ __('admin::app.sales.shipments.date') }} {{ __('admin::app.sales.shipments.carrier-title') }} {{ __('admin::app.sales.shipments.tracking-number') }} {{ __('admin::app.sales.shipments.total-qty') }} {{ __('admin::app.sales.shipments.action') }}
#{{ $shipment->id }} {{ core()->formatDate($shipment->created_at, 'Y-m-d H:i:s') }} {{ $shipment->carrier_title }} {{ $shipment->track_number }} {{ $shipment->total_qty }}
{{ __('admin::app.common.no-result-found') }}
@foreach ($order->refunds as $refund) @endforeach @if (! $order->refunds->count()) @endif
{{ __('admin::app.sales.refunds.id') }} {{ __('admin::app.sales.refunds.date') }} {{ __('admin::app.sales.refunds.order-id') }} {{ __('admin::app.sales.refunds.customer-name') }} {{ __('admin::app.sales.refunds.status') }} {{ __('admin::app.sales.refunds.refunded') }} {{ __('admin::app.sales.refunds.action') }}
#{{ $refund->id }} {{ core()->formatDate($refund->created_at, 'Y-m-d H:i:s') }} #{{ $refund->order->increment_id }} {{ $refund->order->customer_full_name }} {{ __('admin::app.sales.refunds.refunded') }} {{ core()->formatBasePrice($refund->base_grand_total) }}
{{ __('admin::app.common.no-result-found') }}
@foreach ($order->transactions as $transaction) @endforeach @if (! $order->transactions->count()) @endif
{{ __('admin::app.sales.transactions.transaction-id') }} {{ __('admin::app.sales.invoices.order-id') }} {{ __('admin::app.sales.transactions.payment-method') }} {{ __('admin::app.sales.transactions.action') }}
#{{ $transaction->transaction_id }} {{ $transaction->order_id }} {{ core()->getConfigData('sales.paymentmethods.' . $transaction->payment_method . '.title') }}
{{ __('admin::app.common.no-result-found') }}
{!! view_render_event('sales.order.tabs.after', ['order' => $order]) !!}
@stop