mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 11:41:09 -04:00
fix currency issue
This commit is contained in:
@ -184,7 +184,7 @@
|
||||
|
||||
<!-- Estimate date -->
|
||||
<template #cell-estimate_date="{ row }">
|
||||
{{ row.data.formatted_estimate_date }}
|
||||
{{ row.data.formatted_estimate_date }}
|
||||
</template>
|
||||
|
||||
<template #cell-estimate_number="{ row }">
|
||||
@ -209,7 +209,10 @@
|
||||
</template>
|
||||
|
||||
<template #cell-total="{ row }">
|
||||
<BaseFormatMoney :amount="row.data.total" />
|
||||
<BaseFormatMoney
|
||||
:amount="row.data.total"
|
||||
:currency="row.data.customer.currency"
|
||||
/>
|
||||
</template>
|
||||
|
||||
<!-- Actions -->
|
||||
|
||||
@ -181,7 +181,7 @@
|
||||
<template #cell-amount="{ row }">
|
||||
<BaseFormatMoney
|
||||
:amount="row.data.amount"
|
||||
:currency="companyStore.selectedCompanyCurrency"
|
||||
:currency="row.data.currency"
|
||||
/>
|
||||
</template>
|
||||
|
||||
|
||||
@ -194,7 +194,7 @@
|
||||
|
||||
<!-- Invoice date -->
|
||||
<template #cell-invoice_date="{ row }">
|
||||
{{ row.data.formatted_invoice_date }}
|
||||
{{ row.data.formatted_invoice_date }}
|
||||
</template>
|
||||
|
||||
<!-- Invoice Total -->
|
||||
|
||||
@ -185,7 +185,7 @@
|
||||
<template #cell-amount="{ row }">
|
||||
<BaseFormatMoney
|
||||
:amount="row.data.amount"
|
||||
:currency="companyStore.selectedCompanyCurrency"
|
||||
:currency="row.data.customer.currency"
|
||||
/>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user