Skip to content

Commit 21c9183

Browse files
Shubham SharmaShubham Sharma
Shubham Sharma
authored and
Shubham Sharma
committed
fixed issue magento#18724 for 2.3-develop
1 parent 57d7010 commit 21c9183

File tree

2 files changed

+2
-2
lines changed
  • app/code/Magento/Tax/view/frontend

2 files changed

+2
-2
lines changed

app/code/Magento/Tax/view/frontend/templates/order/tax.phtml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<td <?= /* @escapeNotVerified */ $block->getLabelProperties() ?>>
2727
<?= $block->escapeHtml($title) ?>
2828
<?php if (!is_null($percent)): ?>
29-
(<?= (float)$percent ?>%)
29+
(<?= /* @escapeNotVerified */ $_order->formatPrice((float)$percent) ?>%)
3030
<?php endif; ?>
3131
<br />
3232
</td>

app/code/Magento/Tax/view/frontend/web/template/checkout/summary/tax.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<!-- ko foreach: rates -->
3939
<tr class="totals-tax-details">
4040
<!-- ko if: percent -->
41-
<th class="mark" scope="row" data-bind="text: title + ' (' + percent + '%)'"></th>
41+
<th class="mark" scope="row" data-bind="text: title + ' (' + $parents[1].formatPrice(percent) + '%)'"></th>
4242
<!-- /ko -->
4343
<!-- ko if: !percent -->
4444
<th class="mark" scope="row" data-bind="text: title"></th>

0 commit comments

Comments
 (0)