fix:use with instead of own for smart prompt

This commit is contained in:
hackerESQ
2024-10-31 16:42:55 -05:00
parent 0d1e6543d1
commit 12cedd9e40
+1 -1
View File
@@ -50,7 +50,7 @@ class PortfolioController extends Controller
$formattedHoldings = '';
foreach($portfolio->holdings as $holding) {
$formattedHoldings .= " * Holding of ".$holding->market_data->name." (".$holding->symbol.")"
."; own ". ($holding->quantity > 0 ? $holding->quantity : 'ZERO') . " shares"
."; with ". ($holding->quantity > 0 ? $holding->quantity : 'ZERO') . " shares"
."; avg cost basis ". $holding->average_cost_basis
."; curr market value ". $holding->market_data->market_value
."; unrealized gains ". $holding->market_gain_dollars