File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
app/code/Magento/Sales/view/adminhtml/templates/order/totals Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -56,10 +56,11 @@ $randomHelper = $block->getData('randomHelper');
5656 $ baseAmount = $ info ['base_amount ' ];
5757 $ rates = $ info ['rates ' ];
5858 $ isFirst = 1 ;
59+ $ rateRow = 0 ;
5960 ?>
6061
6162 <?php foreach ($ rates as $ rate ): ?>
62- <tr id="rate-<?= /* @noEscape */ $ rate -> getId () ?> "
63+ <tr id="rate-<?= $ rateRow ?> "
6364 class="summary-details<?= ($ isTop ? ' summary-details-first ' : '' ) ?> ">
6465 <?php if ($ rate ['percent ' ] !== null ): ?>
6566 <td class="admin__total-mark">
@@ -74,10 +75,11 @@ $randomHelper = $block->getData('randomHelper');
7475 </td>
7576 <?php endif ; ?>
7677 </tr>
77- <?= /* @noEscape */ $ secureRenderer ->renderStyleAsTag ("display:none; " , 'tr#rate- ' . $ rate -> getId () ) ?>
78+ <?= /* @noEscape */ $ secureRenderer ->renderStyleAsTag ("display:none; " , 'tr#rate- ' . $ rateRow ) ?>
7879 <?php
7980 $ isFirst = 0 ;
8081 $ isTop = 0 ;
82+ $ rateRow ++;
8183 ?>
8284 <?php endforeach ; ?>
8385 <?php endforeach ; ?>
You can’t perform that action at this time.
0 commit comments