This commit is contained in:
hackerESQ
2024-08-15 21:35:43 -05:00
parent 71e299be04
commit 0f22e2c33e
19 changed files with 386 additions and 61 deletions
+1 -1
View File
@@ -27,6 +27,6 @@ class PortfolioController extends Controller
$portfolio->realizedGainLoss = rand(-200, 3999);
$portfolio->dividendsEarned = rand(-200, 3999);
return view('portfolio.show', compact('portfolio'));
return view('portfolio.show', compact(['portfolio']));
}
}
@@ -0,0 +1,19 @@
<?php
namespace App\Http\Controllers;
use App\Models\Portfolio;
use App\Models\Transaction;
class TransactionController extends Controller
{
/**
* Display the specified resource.
*/
public function index()
{
return view('transaction.index');
}
}