mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-01 19:47:11 +00:00
Cleaning up.
This commit is contained in:
@@ -361,6 +361,7 @@ class Account implements CUD, CommonDatabaseCalls, AccountInterface
|
||||
$model->save();
|
||||
|
||||
if (isset($data['openingbalance']) && isset($data['openingbalancedate']) && strlen($data['openingbalancedate']) > 0) {
|
||||
/** @noinspection PhpParamsInspection */
|
||||
$openingBalance = $this->openingBalanceTransaction($model);
|
||||
// TODO this needs cleaning up and thinking over.
|
||||
if (is_null($openingBalance)) {
|
||||
|
||||
Reference in New Issue
Block a user