feature/vehicle depreciation calculated towards total assets value

This commit is contained in:
nicoagostini committed 2025-05-21 16:39:19 -07:00
1 parent b12d4bebe1
commit 5b147d4f46
4 files changed
+37 -6

No files matched your search

+1 -1
View File
@@ -34,7 +34,7 @@
</div>
<div>
<label class="block text-sm font-medium text-gray-400">Total Value:</label>
<p class="mt-1 text-md text-white"><%- new Intl.NumberFormat('en-US', { style: 'currency', currency: geoData.currency ? geoData.currency : 'CAD' }).format(assets.reduce((total, asset) => total + asset.value, 0)) %></p>
<p class="mt-1 text-md text-white"><%- new Intl.NumberFormat('en-US', { style: 'currency', currency: geoData.currency ? geoData.currency : 'CAD' }).format(totalUserAssetValue) %></p>
</div>
</div>
</div>