fix currency issue

This commit is contained in:
makwanar587
2021-12-01 16:24:23 +05:30
parent e22f60ff16
commit e30b99a730
4 changed files with 8 additions and 5 deletions

View File

@ -209,7 +209,10 @@
</template> </template>
<template #cell-total="{ row }"> <template #cell-total="{ row }">
<BaseFormatMoney :amount="row.data.total" /> <BaseFormatMoney
:amount="row.data.total"
:currency="row.data.customer.currency"
/>
</template> </template>
<!-- Actions --> <!-- Actions -->

View File

@ -181,7 +181,7 @@
<template #cell-amount="{ row }"> <template #cell-amount="{ row }">
<BaseFormatMoney <BaseFormatMoney
:amount="row.data.amount" :amount="row.data.amount"
:currency="companyStore.selectedCompanyCurrency" :currency="row.data.currency"
/> />
</template> </template>

View File

@ -185,7 +185,7 @@
<template #cell-amount="{ row }"> <template #cell-amount="{ row }">
<BaseFormatMoney <BaseFormatMoney
:amount="row.data.amount" :amount="row.data.amount"
:currency="companyStore.selectedCompanyCurrency" :currency="row.data.customer.currency"
/> />
</template> </template>