mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 04:01:10 -04:00
fix currency issue
This commit is contained in:
@ -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 -->
|
||||||
|
|||||||
@ -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>
|
||||||
|
|
||||||
|
|||||||
@ -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>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user