fix:math for % earnings

This commit is contained in:
hackerESQ
2024-10-25 21:15:43 -05:00
parent ff476ad406
commit 9d9baa8857
4 changed files with 10 additions and 4 deletions
@@ -36,7 +36,10 @@ new class extends Component {
{{ $holding->market_data?->name }} ({{ $holding->symbol }})
<x-gain-loss-arrow-badge :percent="$holding->market_gain_percent" />
<x-gain-loss-arrow-badge
:cost-basis="$holding->average_cost_basis"
:market-value="$holding->market_data->market_value"
/>
</x-slot:value>
<x-slot:sub-value>