Skip to content

Commit 94afe44

Browse files
author
Viktor Sevch
committed
MC-35765: [2.4.0-beta1] Full Tax Details causes the Order Page to fail
1 parent 4e4eb6b commit 94afe44

File tree

1 file changed

+3
-3
lines changed
  • app/code/Magento/Sales/view/adminhtml/templates/order/totals

1 file changed

+3
-3
lines changed

app/code/Magento/Sales/view/adminhtml/templates/order/totals/tax.phtml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ $randomHelper = $block->getData('randomHelper');
8888
$amount = $info['tax_amount'];
8989
$baseAmount = $info['base_tax_amount'];
9090
$isFirst = 1;
91-
$infoTitle = $randomHelper->getRandomString(20);
91+
$infoId = $randomHelper->getRandomString(20);
9292
?>
93-
<tr id="info-<?= /* @noEscape */ $infoTitle ?>"
93+
<tr id="info-<?= /* @noEscape */ $infoId ?>"
9494
class="summary-details<?= ($isTop ? ' summary-details-first' : '') ?>">
9595
<?php if ($info['percent'] !== null): ?>
9696
<td class="admin__total-mark">
@@ -101,7 +101,7 @@ $randomHelper = $block->getData('randomHelper');
101101
<?php endif; ?>
102102
<td><?= /* @noEscape */ $block->displayAmount($amount, $baseAmount) ?></td>
103103
</tr>
104-
<?= /* @noEscape */ $secureRenderer->renderStyleAsTag("display:none;", 'tr#info-' . $infoTitle) ?>
104+
<?= /* @noEscape */ $secureRenderer->renderStyleAsTag("display:none;", 'tr#info-' . $infoId) ?>
105105
<?php
106106
$isFirst = 0;
107107
$isTop = 0;

0 commit comments

Comments
 (0)