File tree 1 file changed +5
-2
lines changed
app/code/Magento/Sales/view/adminhtml/templates/order/totals 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,10 @@ $randomHelper = $block->getData('randomHelper');
59
59
?>
60
60
61
61
<?php foreach ($ rates as $ rate ): ?>
62
- <tr id="rate-<?= /* @noEscape */ $ rate ->getId () ?> "
62
+ <?php
63
+ $ rateId = $ randomHelper ->getRandomString (20 );
64
+ ?>
65
+ <tr id="rate-<?= /* @noEscape */ $ rateId ?> "
63
66
class="summary-details<?= ($ isTop ? ' summary-details-first ' : '' ) ?> ">
64
67
<?php if ($ rate ['percent ' ] !== null ): ?>
65
68
<td class="admin__total-mark">
@@ -74,7 +77,7 @@ $randomHelper = $block->getData('randomHelper');
74
77
</td>
75
78
<?php endif ; ?>
76
79
</tr>
77
- <?= /* @noEscape */ $ secureRenderer ->renderStyleAsTag ("display:none; " , 'tr#rate- ' . $ rate -> getId () ) ?>
80
+ <?= /* @noEscape */ $ secureRenderer ->renderStyleAsTag ("display:none; " , 'tr#rate- ' . $ rateId ) ?>
78
81
<?php
79
82
$ isFirst = 0 ;
80
83
$ isTop = 0 ;
You can’t perform that action at this time.
0 commit comments