Skip to content

Commit 1d14cb8

Browse files
committed
MAGETWO-99488: Eliminate @escapeNotVerified in Tax-related Modules
- Reverting removal of css class suffix
1 parent f0e8b7a commit 1d14cb8

File tree

1 file changed

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

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,14 @@
55
*/
66

77
// phpcs:disable Magento2.Templates.ThisInTemplate
8+
// phpcs:disable Squiz.PHP.GlobalKeyword.NotAllowed
89
?>
910
<?php
1011
$_order = $block->getOrder();
1112
$_source = $block->getSource();
1213
$_fullInfo = $this->helper(\Magento\Tax\Helper\Data::class)->getCalculatedTaxes($_source);
14+
global $taxIter;
15+
$taxIter++;
1316
?>
1417

1518
<?php if ($_fullInfo && $block->displayFullSummary()) : ?>
@@ -20,7 +23,7 @@
2023
$baseAmount = $info['base_tax_amount'];
2124
$title = $info['title'];
2225
?>
23-
<tr class="totals tax details <?= ($block->getIsPlaneMode()) ? ' plane' : '' ?>">
26+
<tr class="totals tax details details-<?= (int) $taxIter ?><?= ($block->getIsPlaneMode()) ? ' plane' : '' ?>">
2427
<td <?= /* @noEscape */ $block->getLabelProperties() ?>>
2528
<?= $block->escapeHtml($title) ?>
2629
<?php if ($percent !== null) : ?>

0 commit comments

Comments
 (0)