mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-07 13:41:23 +00:00
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:
@@ -57,7 +57,7 @@
|
|||||||
>
|
>
|
||||||
<BaseFormatMoney
|
<BaseFormatMoney
|
||||||
:amount="chartData.salesTotal"
|
:amount="chartData.salesTotal"
|
||||||
:currency="data.currency"
|
:currency="companyStore.selectedCompanyCurrency"
|
||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
@@ -74,8 +74,8 @@
|
|||||||
style="color: #00c99c"
|
style="color: #00c99c"
|
||||||
>
|
>
|
||||||
<BaseFormatMoney
|
<BaseFormatMoney
|
||||||
:amount="chartData.totalExpenses"
|
:amount="chartData.totalReceipts"
|
||||||
:currency="data.currency"
|
:currency="companyStore.selectedCompanyCurrency"
|
||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
@@ -92,7 +92,7 @@
|
|||||||
>
|
>
|
||||||
<BaseFormatMoney
|
<BaseFormatMoney
|
||||||
:amount="chartData.totalExpenses"
|
:amount="chartData.totalExpenses"
|
||||||
:currency="data.currency"
|
:currency="companyStore.selectedCompanyCurrency"
|
||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
@@ -109,7 +109,7 @@
|
|||||||
>
|
>
|
||||||
<BaseFormatMoney
|
<BaseFormatMoney
|
||||||
:amount="chartData.netProfit"
|
:amount="chartData.netProfit"
|
||||||
:currency="data.currency"
|
:currency="companyStore.selectedCompanyCurrency"
|
||||||
/>
|
/>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user