mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Code cleanup.
This commit is contained in:
@@ -630,7 +630,7 @@ class AccountRepository implements AccountRepositoryInterface
|
||||
$list = $this->getAccountsByType($set);
|
||||
$index = 1;
|
||||
foreach ($list as $account) {
|
||||
if(false === $account->active) {
|
||||
if (false === $account->active) {
|
||||
$account->order = 0;
|
||||
continue;
|
||||
}
|
||||
|
@@ -31,6 +31,7 @@ use FireflyIII\Models\TransactionGroup;
|
||||
use FireflyIII\Models\TransactionJournal;
|
||||
use FireflyIII\User;
|
||||
use Illuminate\Support\Collection;
|
||||
|
||||
/**
|
||||
* Interface AccountRepositoryInterface.
|
||||
*/
|
||||
|
@@ -76,7 +76,7 @@ class AccountTasker implements AccountTaskerInterface
|
||||
'currency_symbol' => $currency->symbol,
|
||||
'currency_name' => $currency->name,
|
||||
'currency_decimal_places' => $currency->decimal_places,];
|
||||
$entry = [
|
||||
$entry = [
|
||||
'name' => $account->name,
|
||||
'id' => $account->id,
|
||||
'currency_id' => $currency->id,
|
||||
|
Reference in New Issue
Block a user