Skip to content

Commit 32540e1

Browse files
committed
MC-16764: [Backport for 2.2.x] Eliminate @escapeNotVerified in Tax-related Modules
- Reverting removal of css class suffix
1 parent be76871 commit 32540e1

File tree

1 file changed

+3
-1
lines changed
  • app/code/Magento/Tax/view/frontend/templates/order

1 file changed

+3
-1
lines changed

app/code/Magento/Tax/view/frontend/templates/order/tax.phtml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
$_order = $block->getOrder();
99
$_source = $block->getSource();
1010
$_fullInfo = $this->helper(\Magento\Tax\Helper\Data::class)->getCalculatedTaxes($_source);
11+
global $taxIter;
12+
$taxIter++;
1113
?>
1214

1315
<?php if ($_fullInfo && $block->displayFullSummary()) : ?>
@@ -18,7 +20,7 @@
1820
$baseAmount = $info['base_tax_amount'];
1921
$title = $info['title'];
2022
?>
21-
<tr class="totals tax details <?= ($block->getIsPlaneMode()) ? ' plane' : '' ?>">
23+
<tr class="totals tax details details-<?= (int) $taxIter ?><?= ($block->getIsPlaneMode()) ? ' plane' : '' ?>">
2224
<td <?= /* @noEscape */ $block->getLabelProperties() ?>>
2325
<?= $block->escapeHtml($title) ?>
2426
<?php if ($percent !== null) : ?>

0 commit comments

Comments
 (0)