helper(\Magento\Tax\Helper\Data::class)->displaySalesBothPrices()) : ?>
-
= /* @noEscape */ $block->displayPrices($_item->getBasePrice(), $_item->getPrice()) ?>
@@ -24,7 +27,7 @@ $_item = $block->getItem();
helper(\Magento\Tax\Helper\Data::class)->displaySalesBothPrices() || $this->helper(\Magento\Tax\Helper\Data::class)->displaySalesPriceInclTax()) : ?>
helper(\Magento\Tax\Helper\Data::class)->displaySalesBothPrices()) : ?>
-
= $block->escapeHtml(__('Incl. Tax')) ?>:
+
= $escaper->escapeHtml(__('Incl. Tax')) ?>:
helper(\Magento\Checkout\Helper\Data::class)->getPriceInclTax($_item); ?>
helper(\Magento\Checkout\Helper\Data::class)->getBasePriceInclTax($_item); ?>
diff --git a/app/code/Magento/Tax/view/adminhtml/templates/order/create/items/price/row.phtml b/app/code/Magento/Tax/view/adminhtml/templates/order/create/items/price/row.phtml
index eeaf769542033..c77bfb7b5dbd2 100644
--- a/app/code/Magento/Tax/view/adminhtml/templates/order/create/items/price/row.phtml
+++ b/app/code/Magento/Tax/view/adminhtml/templates/order/create/items/price/row.phtml
@@ -7,21 +7,24 @@
// phpcs:disable Magento2.Templates.ThisInTemplate
?>
getItem();
?>
displayPriceExclTax() || $block->displayBothPrices()) : ?>
displayBothPrices($block->getStore())) : ?>
-
= $block->escapeHtml(__('Excl. Tax')) ?>:
+
= $escaper->escapeHtml(__('Excl. Tax')) ?>:
= /* @noEscape */ $block->formatPrice($_item->getRowTotal()) ?>
displayPriceInclTax() || $block->displayBothPrices()) : ?>
displayBothPrices()) : ?>
-
= $block->escapeHtml(__('Incl. Tax')) ?>:
+
= $escaper->escapeHtml(__('Incl. Tax')) ?>:
helper(\Magento\Checkout\Helper\Data::class)->getSubtotalInclTax($_item); ?>
= /* @noEscape */ $block->formatPrice($_incl) ?>
diff --git a/app/code/Magento/Tax/view/adminhtml/templates/order/create/items/price/total.phtml b/app/code/Magento/Tax/view/adminhtml/templates/order/create/items/price/total.phtml
index 462a1a65f97c3..ec5329916438e 100644
--- a/app/code/Magento/Tax/view/adminhtml/templates/order/create/items/price/total.phtml
+++ b/app/code/Magento/Tax/view/adminhtml/templates/order/create/items/price/total.phtml
@@ -5,7 +5,10 @@
*/
?>
getItem();
?>
@@ -13,7 +16,7 @@ $_item = $block->getItem();
displayPriceExclTax() || $block->displayBothPrices()) : ?>
getRowTotal() - $_item->getTotalDiscountAmount(); ?>
displayBothPrices()) : ?>
-
= $block->escapeHtml(__('Excl. Tax')) ?>:
+
= $escaper->escapeHtml(__('Excl. Tax')) ?>:
= /* @noEscape */ $block->formatPrice(max(0, $_rowTotalWithoutDiscount)) ?>
@@ -21,7 +24,7 @@ $_item = $block->getItem();
displayPriceInclTax() || $block->displayBothPrices()) : ?>
displayBothPrices($block->getStore())) : ?>
-
= $block->escapeHtml(__('Incl. Tax')) ?>:
+
= $escaper->escapeHtml(__('Incl. Tax')) ?>:
getTotalAmount($_item); ?>
= /* @noEscape */ $block->formatPrice($_incl) ?>
diff --git a/app/code/Magento/Tax/view/adminhtml/templates/order/create/items/price/unit.phtml b/app/code/Magento/Tax/view/adminhtml/templates/order/create/items/price/unit.phtml
index 066b6a04fded4..467a06e923039 100644
--- a/app/code/Magento/Tax/view/adminhtml/templates/order/create/items/price/unit.phtml
+++ b/app/code/Magento/Tax/view/adminhtml/templates/order/create/items/price/unit.phtml
@@ -7,14 +7,17 @@
// phpcs:disable Magento2.Templates.ThisInTemplate
?>
getItem();
?>
displayPriceExclTax() || $block->displayBothPrices()) : ?>
displayBothPrices()) : ?>
-
= $block->escapeHtml(__('Excl. Tax')) ?>:
+
= $escaper->escapeHtml(__('Excl. Tax')) ?>:
= /* @noEscape */ $block->formatPrice($_item->getCalculationPrice()) ?>
@@ -22,7 +25,7 @@ $_item = $block->getItem();
displayPriceInclTax() || $block->displayBothPrices()) : ?>
displayBothPrices()) : ?>
-
= $block->escapeHtml(__('Incl. Tax')) ?>:
+
= $escaper->escapeHtml(__('Incl. Tax')) ?>:
helper(\Magento\Checkout\Helper\Data::class)->getPriceInclTax($_item); ?>
= /* @noEscape */ $block->formatPrice($_incl) ?>
diff --git a/app/code/Magento/Tax/view/adminhtml/templates/rate/title.phtml b/app/code/Magento/Tax/view/adminhtml/templates/rate/title.phtml
index 7dd6f6cee8c63..c103fa7739a74 100644
--- a/app/code/Magento/Tax/view/adminhtml/templates/rate/title.phtml
+++ b/app/code/Magento/Tax/view/adminhtml/templates/rate/title.phtml
@@ -3,20 +3,24 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
+
+/**
+ * @var \Magento\Framework\Escaper $escaper
+ */
?>