@lang('shop::app.customers.account.orders.view.page-title', ['order_id' => $order->increment_id]) @section('breadcrumbs') @endSection

@lang('shop::app.customers.account.orders.view.page-title', ['order_id' => $order->increment_id])

@if ($order->canCancel())
@csrf
@lang('shop::app.customers.account.orders.view.cancel-btn-title') @endif
{!! view_render_event('bagisto.shop.customers.account.orders.view.before', ['order' => $order]) !!}
{{ core()->formatDate($order->created_at, 'd M Y') }}
@foreach ($order->items as $item) @endforeach
@lang('shop::app.customers.account.orders.view.information.sku') @lang('shop::app.customers.account.orders.view.information.product-name') @lang('shop::app.customers.account.orders.view.information.price') @lang('shop::app.customers.account.orders.view.information.item-status') @lang('shop::app.customers.account.orders.view.information.subtotal') @lang('shop::app.customers.account.orders.view.information.tax-percent') @lang('shop::app.customers.account.orders.view.information.tax-amount') @lang('shop::app.customers.account.orders.view.information.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()->formatPrice($item->price, $order->order_currency_code) }} @if($item->qty_ordered) @lang('shop::app.customers.account.orders.view.information.item-ordered', ['qty_ordered' => $item->qty_ordered]) @endif @if($item->qty_invoiced) @lang('shop::app.customers.account.orders.view.information.item-invoice', ['qty_invoiced' => $item->qty_invoiced]) @endif @if($item->qty_shipped) @lang('shop::app.customers.account.orders.view.information.item-shipped', ['qty_shipped' => $item->qty_shipped]) @endif @if($item->qty_refunded) @lang('shop::app.customers.account.orders.view.information.item-refunded', ['qty_refunded' => $item->qty_refunded]) @endif @if($item->qty_canceled) @lang('shop::app.customers.account.orders.view.information.item-canceled', ['qty_canceled' => $item->qty_canceled]) @endif {{ core()->formatPrice($item->total, $order->order_currency_code) }} {{ number_format($item->tax_percent, 2) }}% {{ core()->formatPrice($item->tax_amount, $order->order_currency_code) }} {{ core()->formatPrice($item->total + $item->tax_amount - $item->discount_amount, $order->order_currency_code) }}

@lang('shop::app.customers.account.orders.view.information.subtotal')

-

{{ core()->formatPrice($order->sub_total, $order->order_currency_code) }}

@if ($order->haveStockableItems())

@lang('shop::app.customers.account.orders.view.information.shipping-handling')

-

{{ core()->formatPrice($order->shipping_amount, $order->order_currency_code) }}

@endif @if ($order->base_discount_amount > 0)

@lang('shop::app.customers.account.orders.view.information.discount') @if ($order->coupon_code) ({{ $order->coupon_code }}) @endif

-

{{ core()->formatPrice($order->discount_amount, $order->order_currency_code) }}

@endif

@lang('shop::app.customers.account.orders.view.information.tax')

-

{{ core()->formatPrice($order->tax_amount, $order->order_currency_code) }}

@lang('shop::app.customers.account.orders.view.information.grand-total')

-

{{ core()->formatPrice($order->grand_total, $order->order_currency_code) }}

@lang('shop::app.customers.account.orders.view.information.total-paid')

-

{{ core()->formatPrice($order->grand_total_invoiced, $order->order_currency_code) }}

@lang('shop::app.customers.account.orders.view.information.total-refunded')

-

{{ core()->formatPrice($order->grand_total_refunded, $order->order_currency_code) }}

@lang('shop::app.customers.account.orders.view.information.total-due')

-

@if($order->status !== \Webkul\Sales\Models\Order::STATUS_CANCELED) {{ core()->formatPrice($order->total_due, $order->order_currency_code) }} @else {{ core()->formatPrice(0.00, $order->order_currency_code) }} @endif

@if ($order->invoices->count()) @foreach ($order->invoices as $invoice)

@lang('shop::app.customers.account.orders.view.invoices.individual-invoice', ['invoice_id' => $invoice->increment_id ?? $invoice->id])

@lang('shop::app.customers.account.orders.view.invoices.print')
@foreach ($invoice->items as $item) @endforeach
@lang('shop::app.customers.account.orders.view.invoices.sku') @lang('shop::app.customers.account.orders.view.invoices.product-name') @lang('shop::app.customers.account.orders.view.invoices.price') @lang('shop::app.customers.account.orders.view.invoices.qty') @lang('shop::app.customers.account.orders.view.invoices.subtotal') @lang('shop::app.customers.account.orders.view.invoices.tax-amount') @lang('shop::app.customers.account.orders.view.invoices.grand-total')
{{ $item->getTypeInstance()->getOrderedItem($item)->sku }} {{ $item->name }} {{ core()->formatPrice($item->price, $order->order_currency_code) }} {{ $item->qty }} {{ core()->formatPrice($item->total, $order->order_currency_code) }} {{ core()->formatPrice($item->tax_amount, $order->order_currency_code) }} {{ core()->formatPrice($item->total + $item->tax_amount, $order->order_currency_code) }}

@lang('shop::app.customers.account.orders.view.invoices.subtotal')

-

{{ core()->formatPrice($invoice->sub_total, $order->order_currency_code) }}

@lang('shop::app.customers.account.orders.view.invoices.shipping-handling')

-

{{ core()->formatPrice($invoice->shipping_amount, $order->order_currency_code) }}

@if ($invoice->base_discount_amount > 0)

@lang('shop::app.customers.account.orders.view.invoices.discount')

-

{{ core()->formatPrice($invoice->discount_amount, $order->order_currency_code) }}

@endif

@lang('shop::app.customers.account.orders.view.invoices.tax')

-

{{ core()->formatPrice($invoice->tax_amount, $order->order_currency_code) }}

@lang('shop::app.customers.account.orders.view.invoices.grand-total')

-

{{ core()->formatPrice($invoice->grand_total, $order->order_currency_code) }}

@endforeach
@endif @if ($order->shipments->count()) @foreach ($order->shipments as $shipment)
{{ $shipment->track_number }}
@lang('shop::app.customers.account.orders.view.shipments.individual-shipment', ['shipment_id' => $shipment->id])
@foreach ($shipment->items as $item) @endforeach
@lang('shop::app.customers.account.orders.view.shipments.sku') @lang('shop::app.customers.account.orders.view.shipments.product-name') @lang('shop::app.customers.account.orders.view.shipments.qty')
{{ $item->sku }} {{ $item->name }} {{ $item->qty }}
@endforeach
@endif @if ($order->refunds->count()) @foreach ($order->refunds as $refund)
@lang('shop::app.customers.account.orders.view.refunds.individual-refund', ['refund_id' => $refund->id])
@foreach ($refund->items as $item) @endforeach @if (! $refund->items->count()) @endif
@lang('shop::app.customers.account.orders.view.refunds.sku') @lang('shop::app.customers.account.orders.view.refunds.product-name') @lang('shop::app.customers.account.orders.view.refunds.price') @lang('shop::app.customers.account.orders.view.refunds.qty') @lang('shop::app.customers.account.orders.view.refunds.subtotal') @lang('shop::app.customers.account.orders.view.refunds.tax-amount') @lang('shop::app.customers.account.orders.view.refunds.grand-total')
{{ $item->child ? $item->child->sku : $item->sku }} {{ $item->name }} {{ core()->formatPrice($item->price, $order->order_currency_code) }} {{ $item->qty }} {{ core()->formatPrice($item->total, $order->order_currency_code) }} {{ core()->formatPrice($item->tax_amount, $order->order_currency_code) }} {{ core()->formatPrice($item->total + $item->tax_amount, $order->order_currency_code) }}
@lang('shop::app.customers.account.orders.view.refunds.no-result-found')

@lang('shop::app.customers.account.orders.view.refunds.subtotal')

-

{{ core()->formatPrice($refund->sub_total, $order->order_currency_code) }}

@lang('shop::app.customers.account.orders.view.refunds.shipping-handling')

-

{{ core()->formatPrice($refund->shipping_amount, $order->order_currency_code) }}

@if ($refund->discount_amount > 0)

@lang('shop::app.customers.account.orders.view.refunds.discount')

-

{{ core()->formatPrice($order->discount_amount, $order->order_currency_code) }}

@endif @if ($refund->tax_amount > 0)

@lang('shop::app.customers.account.orders.view.refunds.tax')

-

{{ core()->formatPrice($refund->tax_amount, $order->order_currency_code) }}

@endif

@lang('shop::app.customers.account.orders.view.refunds.adjustment-refund')

-

{{ core()->formatPrice($refund->adjustment_refund, $order->order_currency_code) }}

@lang('shop::app.customers.account.orders.view.refunds.adjustment-fee')

-

{{ core()->formatPrice($refund->adjustment_fee, $order->order_currency_code) }}

@lang('shop::app.customers.account.orders.view.refunds.grand-total')

-

{{ core()->formatPrice($refund->grand_total, $order->order_currency_code) }}

@endforeach
@endif
@if ($order->billing_address)

@lang('shop::app.customers.account.orders.view.billing-address')

@include ('admin::sales.address', ['address' => $order->billing_address])

{!! view_render_event('bagisto.shop.customers.account.orders.view.billing_address.after', ['order' => $order]) !!}
@endif @if ($order->shipping_address)

@lang('shop::app.customers.account.orders.view.shipping-address')

@include ('admin::sales.address', ['address' => $order->shipping_address]) {!! view_render_event('bagisto.shop.customers.account.orders.view.shipping_address.after', ['order' => $order]) !!}

@lang('shop::app.customers.account.orders.view.shipping-method')

{{ $order->shipping_title }}

{!! view_render_event('bagisto.shop.customers.account.orders.view.shipping_method.after', ['order' => $order]) !!} @endif

@lang('shop::app.customers.account.orders.view.payment-method')

{{ core()->getConfigData('sales.payment_methods.' . $order->payment->method . '.title') }}

@if (! empty($additionalDetails))
@endif {!! view_render_event('bagisto.shop.customers.account.orders.view.payment_method.after', ['order' => $order]) !!}
{!! view_render_event('bagisto.shop.customers.account.orders.view.after', ['order' => $order]) !!}