@foreach ($sellerOrder->refunds as $refund)

@lang('marketplace::app.seller.orders.view.refunds.individual-refund', ['refund_id' => $refund->id]),

 

@lang('marketplace::app.seller.orders.view.refunds.created-on', ['date_time' => core()->formatDate($refund->created_at, 'd/m/y h:i:s')])

@forelse ($refund->items as $refundItem) @empty @endforelse
@lang('marketplace::app.seller.orders.view.refunds.product-name') @lang('marketplace::app.seller.orders.view.refunds.price') @lang('marketplace::app.seller.orders.view.refunds.qty') @lang('marketplace::app.seller.orders.view.refunds.subtotal') @lang('marketplace::app.seller.orders.view.refunds.tax-amount') @lang('marketplace::app.seller.orders.view.refunds.grand-total')

{{ $refundItem->item->name }}

@lang('marketplace::app.seller.orders.view.invoices.sku', ['sku' => $refundItem->item->child ? $refundItem->item->child->sku : $refundItem->item->sku])

@if (isset($refundItem->item->additional['attributes']))
@foreach ($refundItem->item->additional['attributes'] as $attribute) {{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
@endforeach
@endif
{{ core()->formatBasePrice($refundItem->item->base_price) }} {{ $refundItem->item->qty }} {{ core()->formatBasePrice($refundItem->item->base_total) }} {{ core()->formatBasePrice($refundItem->item->base_tax_amount) }} {{ core()->formatBasePrice($refundItem->item->base_total + $refundItem->item->base_tax_amount) }}
@lang('marketplace::app.seller.orders.view.refunds.no-result-found')
@if (core()->getConfigData('sales.taxes.sales.display_subtotal') != 'including_tax')

@if (core()->getConfigData('sales.taxes.sales.display_subtotal') == 'both') @lang('marketplace::app.seller.orders.view.refunds.sub-total-excl-tax') @else @lang('marketplace::app.seller.orders.view.refunds.subtotal') @endif

-

{{ core()->formatBasePrice($refund->base_sub_total) }}

@endif @if (core()->getConfigData('sales.taxes.sales.display_subtotal') == 'including_tax' || core()->getConfigData('sales.taxes.sales.display_subtotal') == 'both' )

@lang('marketplace::app.seller.orders.view.refunds.sub-total-incl-tax')

-

{{ core()->formatBasePrice($refund->base_sub_total_incl_tax) }}

@endif @if (core()->getConfigData('sales.taxes.sales.display_shipping_amount') != 'including_tax')

@if (core()->getConfigData('sales.taxes.sales.display_shipping_amount') == 'both') @lang('marketplace::app.seller.orders.view.refunds.shipping-handling-excl-tax') @else @lang('marketplace::app.seller.orders.view.refunds.shipping-handling') @endif

-

{{ core()->formatBasePrice(0) }}

@endif @if (core()->getConfigData('sales.taxes.sales.display_shipping_amount') == 'including_tax' || core()->getConfigData('sales.taxes.sales.display_shipping_amount') == 'both' )

@lang('marketplace::app.seller.orders.view.refunds.shipping-handling-incl-tax')

-

{{ core()->formatBasePrice(0) }}

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

@lang('marketplace::app.seller.orders.view.refunds.discount')

-

{{ core()->formatBasePrice($sellerOrder->order->base_discount_amount) }}

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

@lang('marketplace::app.seller.orders.view.refunds.tax')

-

{{ core()->formatBasePrice($refund->base_tax_amount) }}

@endif

@lang('marketplace::app.seller.orders.view.refunds.adjustment-refund')

-

{{ core()->formatBasePrice($refund->base_adjustment_refund) }}

@lang('marketplace::app.seller.orders.view.refunds.adjustment-fee')

-

{{ core()->formatBasePrice($refund->base_adjustment_fee) }}

@lang('marketplace::app.seller.orders.view.refunds.grand-total')

-

{{ core()->formatBasePrice($refund->base_grand_total - $refund->base_shipping_amount) }}

@endforeach