File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
app/code/Magento/Tax/view/frontend/templates/order Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 5
5
*/
6
6
7
7
// phpcs:disable Magento2.Templates.ThisInTemplate
8
+ // phpcs:disable Squiz.PHP.GlobalKeyword.NotAllowed
8
9
?>
9
10
<?php
10
11
$ _order = $ block ->getOrder ();
11
12
$ _source = $ block ->getSource ();
12
13
$ _fullInfo = $ this ->helper (\Magento \Tax \Helper \Data::class)->getCalculatedTaxes ($ _source );
14
+ global $ taxIter ;
15
+ $ taxIter ++;
13
16
?>
14
17
15
18
<?php if ($ _fullInfo && $ block ->displayFullSummary ()) : ?>
20
23
$ baseAmount = $ info ['base_tax_amount ' ];
21
24
$ title = $ info ['title ' ];
22
25
?>
23
- <tr class="totals tax details <?= ($ block ->getIsPlaneMode ()) ? ' plane ' : '' ?> ">
26
+ <tr class="totals tax details details- <?= ( int ) $ taxIter ?> <?= ($ block ->getIsPlaneMode ()) ? ' plane ' : '' ?> ">
24
27
<td <?= /* @noEscape */ $ block ->getLabelProperties () ?> >
25
28
<?= $ block ->escapeHtml ($ title ) ?>
26
29
<?php if ($ percent !== null ) : ?>
You can’t perform that action at this time.
0 commit comments