mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-06 12:45:30 +00:00
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user