mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-09 20:11:22 +00:00
Moved to high charts.
This commit is contained in:
26
app/controllers/TransactionController.php
Normal file
26
app/controllers/TransactionController.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
|
||||
use Firefly\Storage\Account\AccountRepositoryInterface as ARI;
|
||||
|
||||
class TransactionController extends BaseController {
|
||||
|
||||
protected $accounts;
|
||||
|
||||
public function __construct(ARI $accounts) {
|
||||
$this->accounts = $accounts;
|
||||
|
||||
|
||||
View::share('menu','home');
|
||||
}
|
||||
|
||||
public function createWithdrawal() {
|
||||
|
||||
// get accounts with names and id's.
|
||||
$accounts =$this->accounts->getActiveDefaultAsSelectList();
|
||||
|
||||
|
||||
return View::make('transactions.withdrawal')->with('accounts',$accounts);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user