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');
8686 $ amount = $ info ['tax_amount ' ];
8787 $ baseAmount = $ info ['base_tax_amount ' ];
8888 $ isFirst = 1 ;
89+ $ infoTitle = preg_replace ('/[^A-Za-z0-9\-]/ ' , '' , $ info ['title ' ]);
8990 ?>
90- <tr id="info-<?= /* @noEscape */ $ info -> getCode () ?> "
91+ <tr id="info-<?= /* @noEscape */ $ infoTitle ?> "
9192 class="summary-details<?= ($ isTop ? ' summary-details-first ' : '' ) ?> ">
9293 <?php if ($ info ['percent ' ] !== null ): ?>
9394 <td class="admin__total-mark">
@@ -98,7 +99,7 @@ $taxHelper = $block->getData('taxHelper');
9899 <?php endif ; ?>
99100 <td><?= /* @noEscape */ $ block ->displayAmount ($ amount , $ baseAmount ) ?> </td>
100101 </tr>
101- <?= /* @noEscape */ $ secureRenderer ->renderStyleAsTag ("display:none; " , 'tr#info- ' . $ info -> getCode () ) ?>
102+ <?= /* @noEscape */ $ secureRenderer ->renderStyleAsTag ("display:none; " , 'tr#info- ' . $ infoTitle ) ?>
102103 <?php
103104 $ isFirst = 0 ;
104105 $ isTop = 0 ;
You can’t perform that action at this time.
0 commit comments