mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-25 21:16:47 +00:00
Fix various code things.
This commit is contained in:
@@ -80,6 +80,7 @@ class PiggyBankTransformer extends AbstractTransformer
|
||||
$piggyBanks = $objects->pluck('id')->toArray();
|
||||
$accountInfo = Account::whereIn('id', $objects->pluck('account_id')->toArray())->get();
|
||||
$currencyPreferences = AccountMeta::where('name', '"currency_id"')->whereIn('account_id', $objects->pluck('account_id')->toArray())->get();
|
||||
$currencies = [];
|
||||
/** @var Account $account */
|
||||
foreach ($accountInfo as $account) {
|
||||
$id = (int)$account->id;
|
||||
|
||||
Reference in New Issue
Block a user