wip
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user