add empty data help text

This commit is contained in:
hackerESQ
2024-09-06 23:15:43 -05:00
parent d911d05e9a
commit 96a408b32d
7 changed files with 76 additions and 10 deletions
+3 -3
View File
@@ -24,10 +24,10 @@ class HoldingController extends Controller
->portfolio($portfolio->id)
->firstOrFail();
if ($holding->quantity <= 0) {
// if ($holding->quantity <= 0) {
return redirect(route('portfolio.show', ['portfolio' => $portfolio->id]));
}
// return redirect(route('portfolio.show', ['portfolio' => $portfolio->id]));
// }
return view('holding.show', compact(['portfolio', 'holding']));
}