Some new stuff that really doesn't belong here. I'm not good at this.

This commit is contained in:
James Cole
2014-09-03 07:11:35 +02:00
parent 98612dd253
commit c3fd5c7136
11 changed files with 366 additions and 75 deletions

View File

@@ -66,7 +66,8 @@ class AccountController extends \BaseController
public function edit(Account $account)
{
$openingBalance = $this->_accounts->openingBalanceTransaction($account);
return View::make('accounts.edit')->with('account', $account)->with('openingBalance', $openingBalance)->with('title','Edit account "'.$account->name.'"');
return View::make('accounts.edit')->with('account', $account)->with('openingBalance', $openingBalance)
->with('title', 'Edit account "' . $account->name . '"');
}
/**
@@ -90,7 +91,7 @@ class AccountController extends \BaseController
}
}
return View::make('accounts.index')->with('accounts', $set)->with('title','All your accounts');
return View::make('accounts.index')->with('accounts', $set)->with('title', 'All your accounts');
}
/**