File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
app/code/Magento/Sales/view/adminhtml/templates/order/create/totals Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ $taxAmount = $block->getTotal()->getValue();
33
33
<?php $ percent = $ info ['percent ' ]; ?>
34
34
<?php $ amount = $ info ['amount ' ]; ?>
35
35
<?php $ rates = $ info ['rates ' ]; ?>
36
- <?php $ isFirst = 1 ; ?>
37
36
38
37
<?php foreach ($ rates as $ rate ): ?>
39
38
<tr class="summary-details-<?= /* @escapeNotVerified */ $ taxIter ?> summary-details<?php if ($ isTop ): echo ' summary-details-first ' ; endif ; ?> " style="display:none;">
@@ -44,13 +43,10 @@ $taxAmount = $block->getTotal()->getValue();
44
43
<?php endif ; ?>
45
44
<br />
46
45
</td>
47
- <?php if ($ isFirst ): ?>
48
- <td style="<?= /* @escapeNotVerified */ $ block ->getTotal ()->getStyle () ?> " class="admin__total-amount" rowspan="<?= count ($ rates ) ?> ">
49
- <?= /* @escapeNotVerified */ $ block ->formatPrice ($ amount ) ?>
50
- </td>
51
- <?php endif ; ?>
46
+ <td style="<?= /* @escapeNotVerified */ $ block ->getTotal ()->getStyle () ?> " class="admin__total-amount">
47
+ <?= /* @escapeNotVerified */ $ block ->formatPrice (($ amount *(float )$ rate ['percent ' ])/$ percent ) ?>
48
+ </td>
52
49
</tr>
53
- <?php $ isFirst = 0 ; ?>
54
50
<?php $ isTop = 0 ; ?>
55
51
<?php endforeach ; ?>
56
52
<?php endforeach ; ?>
You can’t perform that action at this time.
0 commit comments