@component('yas_theme::emails.layout')
@lang('yas_theme::app.emails.dear', ['customer_name' => $refund->order->customer_full_name]),👋
@lang('yas_theme::app.emails.orders.refunded.greeting', [ 'invoice_id' => $refund->increment_id, 'order_id' => '#' . $refund->order->increment_id . '', 'created_at' => core()->formatDate($refund->order->created_at, 'Y-m-d H:i:s') ])
|
@lang('yas_theme::app.emails.orders.shipping-address')
{{ $refund->order->shipping_address->company_name ?? '' }}
{{ $refund->order->shipping_address->name }} {{ $refund->order->shipping_address->address }} {{ $refund->order->shipping_address->postcode . " " . $refund->order->shipping_address->city }} {{ $refund->order->shipping_address->state }} --- @lang('yas_theme::app.emails.orders.contact') : {{ $refund->order->billing_address->phone }}
@lang('yas_theme::app.emails.orders.shipping')
{{ $refund->order->shipping_title }}
|
@endif
@if ($refund->order->shipping_address && $refund->order->billing_address)
@endif @if ($refund->order->billing_address) |
@lang('yas_theme::app.emails.orders.billing-address')
{{ $refund->order->billing_address->company_name ?? '' }}
{{ $refund->order->billing_address->name }} {{ $refund->order->billing_address->address }} {{ $refund->order->billing_address->postcode . " " . $refund->order->billing_address->city }} {{ $refund->order->billing_address->state }} --- @lang('yas_theme::app.emails.orders.contact') : {{ $refund->order->billing_address->phone }}
@lang('yas_theme::app.emails.orders.payment')
{{ core()->getConfigData('sales.payment_methods.' . $refund->order->payment->method . '.title') }}
@php $additionalDetails = \Webkul\Payment\Payment::getAdditionalDetails($refund->order->payment->method); @endphp
@if (! empty($additionalDetails))
{{ $additionalDetails['title'] }}
{{ $additionalDetails['value'] }}
|
@endif
| @lang('yas_theme::app.emails.orders.' . $item) | @endforeach||
|---|---|---|
|
{{ $item->name }}
@if (isset($item->additional['attributes']))
@foreach ($item->additional['attributes'] as $attribute)
{{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
@endif
@endforeach |
@if (core()->getConfigData('sales.taxes.sales.display_prices') == 'including_tax') {{ core()->formatPrice($item->price_incl_tax, $refund->order_currency_code) }} @elseif (core()->getConfigData('sales.taxes.sales.display_prices') == 'both') {{ core()->formatPrice($item->price_incl_tax, $refund->order_currency_code) }} @lang('yas_theme::app.emails.orders.excl-tax') {{ core()->formatPrice($item->price, $refund->order_currency_code) }} @else {{ core()->formatPrice($item->price, $refund->order_currency_code) }} @endif | {{ $item->qty }} |
| @lang('yas_theme::app.emails.orders.subtotal') | {{ core()->formatPrice($refund->sub_total, $refund->order_currency_code_incl_tax) }} |
| @lang('yas_theme::app.emails.orders.subtotal-excl-tax') | {{ core()->formatPrice($refund->sub_total, $refund->order_currency_code) }} |
| @lang('yas_theme::app.emails.orders.subtotal-incl-tax') | {{ core()->formatPrice($refund->sub_total, $refund->order_currency_code_incl_tax) }} |
| @lang('yas_theme::app.emails.orders.subtotal') | {{ core()->formatPrice($refund->sub_total, $refund->order_currency_code) }} |
| @lang('yas_theme::app.emails.orders.shipping-handling') | {{ core()->formatPrice($refund->shipping_amount_incl_tax, $refund->order_currency_code) }} |
| @lang('yas_theme::app.emails.orders.shipping-handling-excl-tax') | {{ core()->formatPrice($refund->shipping_amount, $refund->order_currency_code) }} |
| @lang('yas_theme::app.emails.orders.shipping-handling-incl-tax') | {{ core()->formatPrice($refund->shipping_amount_incl_tax, $refund->order_currency_code) }} |
| @lang('yas_theme::app.emails.orders.shipping-handling') | {{ core()->formatPrice($refund->shipping_amount, $refund->order_currency_code) }} |
| @lang('yas_theme::app.emails.orders.tax') | {{ core()->formatPrice($refund->tax_amount, $refund->order_currency_code) }} |
| @lang('yas_theme::app.emails.orders.discount') | {{ core()->formatPrice($refund->discount_amount, $refund->order_currency_code) }} |
| @lang('yas_theme::app.emails.orders.grand-total') | {{ core()->formatPrice($refund->grand_total, $refund->order_currency_code) }} |