mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
This commit is contained in:
parent
1e0547a02c
commit
3ee100e71e
@ -325,7 +325,7 @@ class AccountUpdateService
|
|||||||
if ($this->validOBData($data) && !$this->isEmptyOBData($data)) {
|
if ($this->validOBData($data) && !$this->isEmptyOBData($data)) {
|
||||||
$openingBalance = $data['opening_balance'];
|
$openingBalance = $data['opening_balance'];
|
||||||
$openingBalanceDate = $data['opening_balance_date'];
|
$openingBalanceDate = $data['opening_balance_date'];
|
||||||
if ('credit' === $data['liability_direction']) {
|
if ('credit' === $direction) {
|
||||||
$this->updateCreditTransaction($account, $openingBalance, $openingBalanceDate);
|
$this->updateCreditTransaction($account, $openingBalance, $openingBalanceDate);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user