@extends('admin::layouts.master') @section('page_title') {{ __('admin::app.sales.refunds.view-title', ['refund_id' => $refund->id]) }} @stop @section('content-wrapper') @php $order = $refund->order; @endphp
{{ __('admin::app.sales.orders.order-info') }}
{{ __('admin::app.sales.refunds.order-id') }} #{{ $order->increment_id }}
{{ __('admin::app.sales.orders.order-date') }} {{ core()->formatDate($order->created_at, 'Y-m-d H:i:s') }}
{{ __('admin::app.sales.orders.order-status') }} {{ $order->status_label }}
{{ __('admin::app.sales.orders.channel') }} {{ $order->channel_name }}
{{ __('admin::app.sales.orders.account-info') }}
{{ __('admin::app.sales.orders.customer-name') }} {{ $refund->order->customer_full_name }}
{{ __('admin::app.sales.orders.email') }} {{ $refund->order->customer_email }}
@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])
@endif @if ($order->shipping_address)
{{ __('admin::app.sales.orders.shipping-address') }}
@include ('admin::sales.address', ['address' => $order->shipping_address])
@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 }}
{{ __('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) }}
@foreach ($refund->items as $item) @endforeach @if (! $refund->items->count()) @endif
{{ __('admin::app.sales.orders.SKU') }} {{ __('admin::app.sales.orders.product-name') }} {{ __('admin::app.sales.orders.price') }} {{ __('admin::app.sales.orders.qty') }} {{ __('admin::app.sales.orders.subtotal') }} {{ __('admin::app.sales.orders.tax-amount') }} {{ __('admin::app.sales.orders.discount-amount') }} {{ __('admin::app.sales.orders.grand-total') }}
{{ $item->child ? $item->child->sku : $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 }} {{ core()->formatBasePrice($item->base_total) }} {{ 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) }}
{{ __('admin::app.common.no-result-found') }}
@if ($refund->base_shipping_amount > 0) @endif @if ($refund->base_tax_amount > 0) @endif @if ($refund->base_discount_amount > 0) @endif
{{ __('admin::app.sales.orders.subtotal') }} - {{ core()->formatBasePrice($refund->base_sub_total) }}
{{ __('admin::app.sales.orders.shipping-handling') }} - {{ core()->formatBasePrice($refund->base_shipping_amount) }}
{{ __('admin::app.sales.orders.tax') }} - {{ core()->formatBasePrice($refund->base_tax_amount) }}
{{ __('admin::app.sales.orders.discount') }} - -{{ core()->formatBasePrice($refund->base_discount_amount) }}
{{ __('admin::app.sales.refunds.adjustment-refund') }} - {{ core()->formatBasePrice($refund->base_adjustment_refund) }}
{{ __('admin::app.sales.refunds.adjustment-fee') }} - {{ core()->formatBasePrice($refund->base_adjustment_fee) }}
{{ __('admin::app.sales.orders.grand-total') }} - {{ core()->formatBasePrice($refund->base_grand_total) }}
@stop