-
+
@foreach ($item->additional['attributes'] as $attribute)
{{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
@endforeach
@@ -146,7 +146,7 @@
{{ core()->formatPrice($invoice->sub_total, $invoice->order_currency_code) }}
-
+
@if ($order->shipping_address)
diff --git a/packages/Webkul/Shop/src/Resources/views/emails/sales/new-order.blade.php b/packages/Webkul/Shop/src/Resources/views/emails/sales/new-order.blade.php
index 2d848b5ca..f2ca139b0 100755
--- a/packages/Webkul/Shop/src/Resources/views/emails/sales/new-order.blade.php
+++ b/packages/Webkul/Shop/src/Resources/views/emails/sales/new-order.blade.php
@@ -116,10 +116,10 @@
{{ $item->name }}
-
+
@if (isset($item->additional['attributes']))
-
+
@foreach ($item->additional['attributes'] as $attribute)
{{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
@endforeach
@@ -156,12 +156,14 @@
@endif
+ @foreach (Webkul\Checkout\Helpers\Tax::getTaxRatesWithAmount($order, false) as $taxRate => $taxAmount )
- {{ __('shop::app.mail.order.tax') }}
-
- {{ core()->formatPrice($order->tax_amount, $order->order_currency_code) }}
+ {{ __('shop::app.mail.order.tax') }} {{ $taxRate }} %
+
+ {{ core()->formatPrice($taxAmount, $order->order_currency_code) }}
+ @endforeach
@if ($order->discount_amount > 0)
diff --git a/packages/Webkul/Shop/src/Resources/views/emails/sales/new-refund.blade.php b/packages/Webkul/Shop/src/Resources/views/emails/sales/new-refund.blade.php
index d80d9937d..604d2f65b 100644
--- a/packages/Webkul/Shop/src/Resources/views/emails/sales/new-refund.blade.php
+++ b/packages/Webkul/Shop/src/Resources/views/emails/sales/new-refund.blade.php
@@ -115,10 +115,10 @@
|
{{ $item->name }}
-
+
@if (isset($item->additional['attributes']))
-
+
@foreach ($item->additional['attributes'] as $attribute)
{{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
@endforeach
@@ -158,7 +158,7 @@
@endif
-
+@php(//ToDo: taxes)
@if ($refund->tax_amount > 0)
{{ __('shop::app.mail.order.tax') }}
diff --git a/packages/Webkul/Shop/src/Resources/views/emails/sales/order-cancel.blade.php b/packages/Webkul/Shop/src/Resources/views/emails/sales/order-cancel.blade.php
index cd6b9600e..19e677626 100644
--- a/packages/Webkul/Shop/src/Resources/views/emails/sales/order-cancel.blade.php
+++ b/packages/Webkul/Shop/src/Resources/views/emails/sales/order-cancel.blade.php
@@ -119,7 +119,7 @@
@if (isset($item->additional['attributes']))
-
+
@foreach ($item->additional['attributes'] as $attribute)
{{ $attribute['attribute_name'] }} : {{ $attribute['option_label'] }}
@endforeach
@@ -157,12 +157,14 @@
-
- {{ __('shop::app.mail.order.cancel.tax') }}
-
- {{ core()->formatPrice($order->tax_amount, $order->order_currency_code) }}
+ @foreach (Webkul\Checkout\Helpers\Tax::getTaxRatesWithAmount($order, false) as $taxRate => $taxAmount )
+
+ {{ __('shop::app.mail.order.cancel.tax') }} {{ $taxRate }} %
+
+ {{ core()->formatPrice($taxAmount, $order->order_currency_code) }}
-
+
+ @endforeach
@if ($order->discount_amount > 0)
| |