mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 19:51:09 -04:00
fix currency issue
This commit is contained in:
@ -184,7 +184,7 @@
|
|||||||
|
|
||||||
<!-- Estimate date -->
|
<!-- Estimate date -->
|
||||||
<template #cell-estimate_date="{ row }">
|
<template #cell-estimate_date="{ row }">
|
||||||
{{ row.data.formatted_estimate_date }}
|
{{ row.data.formatted_estimate_date }}
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template #cell-estimate_number="{ row }">
|
<template #cell-estimate_number="{ row }">
|
||||||
@ -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>
|
||||||
|
|
||||||
|
|||||||
@ -194,7 +194,7 @@
|
|||||||
|
|
||||||
<!-- Invoice date -->
|
<!-- Invoice date -->
|
||||||
<template #cell-invoice_date="{ row }">
|
<template #cell-invoice_date="{ row }">
|
||||||
{{ row.data.formatted_invoice_date }}
|
{{ row.data.formatted_invoice_date }}
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<!-- Invoice Total -->
|
<!-- Invoice Total -->
|
||||||
|
|||||||
@ -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