Merge pull request #38 from JoaquinPar/feature/vehicle-depreciation

feature/vehicle depreciation calculated towards total assets value
This commit is contained in:
Nícolas Agostini authored and GitHub committed 2025-05-21 16:40:15 -07:00
commit 0672981e69
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>