mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-11 09:29:34 +00:00
Add a title to the table, so multiple balances per account are possible.
This commit is contained in:
@@ -40,7 +40,7 @@ class CorrectAccountBalance extends Command
|
||||
$sum = $entry->amount_sum;
|
||||
|
||||
AccountBalance::updateOrCreate(
|
||||
['account_id' => $account, 'transaction_currency_id' => $currency],
|
||||
['title' => 'balance', 'account_id' => $account, 'transaction_currency_id' => $currency],
|
||||
['balance' => $sum]
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user