fix incorrect currency for expired payments

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