File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
app/code/Magento/Sales/view/adminhtml/templates/order/totals Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -86,8 +86,9 @@ $taxHelper = $block->getData('taxHelper');
86
86
$ amount = $ info ['tax_amount ' ];
87
87
$ baseAmount = $ info ['base_tax_amount ' ];
88
88
$ isFirst = 1 ;
89
+ $ infoTitle = preg_replace ('/[^A-Za-z0-9\-]/ ' , '' , $ info ['title ' ]);
89
90
?>
90
- <tr id="info-<?= /* @noEscape */ $ info -> getCode () ?> "
91
+ <tr id="info-<?= /* @noEscape */ $ infoTitle ?> "
91
92
class="summary-details<?= ($ isTop ? ' summary-details-first ' : '' ) ?> ">
92
93
<?php if ($ info ['percent ' ] !== null ): ?>
93
94
<td class="admin__total-mark">
@@ -98,7 +99,7 @@ $taxHelper = $block->getData('taxHelper');
98
99
<?php endif ; ?>
99
100
<td><?= /* @noEscape */ $ block ->displayAmount ($ amount , $ baseAmount ) ?> </td>
100
101
</tr>
101
- <?= /* @noEscape */ $ secureRenderer ->renderStyleAsTag ("display:none; " , 'tr#info- ' . $ info -> getCode () ) ?>
102
+ <?= /* @noEscape */ $ secureRenderer ->renderStyleAsTag ("display:none; " , 'tr#info- ' . $ infoTitle ) ?>
102
103
<?php
103
104
$ isFirst = 0 ;
104
105
$ isTop = 0 ;
You can’t perform that action at this time.
0 commit comments