fix incorrect currency for expired payments

This commit is contained in:
omair saleh
2021-11-26 10:46:53 +08:00
parent bbcda12bcd
commit 4360c720be
@@ -240,7 +240,7 @@
<div class="col-auto p-l-0">
<div class="font-heading fs-8 muted all-caps">Payable</div>
<div class="font-heading fs-10 bold">
{{item.currency.short_code}} {{(Math.round((item.amount + Number.EPSILON) * 100) / 100).toFixed(2).toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",")}}
{{item.original_currency.short_code}} {{(Math.round((item.amount + Number.EPSILON) * 100) / 100).toFixed(2).toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",")}}
</div>
</div>
</div>