Fix: Actually display company currency symbol / total receipts for customer charts (#453)

* Fix: Actually display company currency symbol for customer charts

Related to draft #403.
The mentioned pull request was incomplete, the current state would show amounts in base currency but not use the base/company currency symbols/notation. This change addresses the issue.

* Fix: Use totalReceipts for "Receipts" value
This commit is contained in:
lupus
2025-08-31 03:13:16 +02:00
committed by GitHub
parent bae8dbe083
commit 4f34ca783b

View File

@@ -57,7 +57,7 @@
>
<BaseFormatMoney
:amount="chartData.salesTotal"
:currency="data.currency"
:currency="companyStore.selectedCompanyCurrency"
/>
</span>
</div>
@@ -74,8 +74,8 @@
style="color: #00c99c"
>
<BaseFormatMoney
:amount="chartData.totalExpenses"
:currency="data.currency"
:amount="chartData.totalReceipts"
:currency="companyStore.selectedCompanyCurrency"
/>
</span>
</div>
@@ -92,7 +92,7 @@
>
<BaseFormatMoney
:amount="chartData.totalExpenses"
:currency="data.currency"
:currency="companyStore.selectedCompanyCurrency"
/>
</span>
</div>
@@ -109,7 +109,7 @@
>
<BaseFormatMoney
:amount="chartData.netProfit"
:currency="data.currency"
:currency="companyStore.selectedCompanyCurrency"
/>
</span>
</div>