mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Clean up some code.
This commit is contained in:
@@ -240,7 +240,6 @@ class AccountTransformer extends AbstractTransformer
|
||||
$openingBalance = null;
|
||||
$openingBalanceDate = null;
|
||||
if (in_array($accountType, ['asset', 'liabilities'], true)) {
|
||||
//$journal = $this->repository->getOpeningBalance($account);
|
||||
$amount = $this->repository->getOpeningBalanceAmount($account);
|
||||
$openingBalance = $amount;
|
||||
$openingBalanceDate = $this->repository->getOpeningBalanceDate($account);
|
||||
|
Reference in New Issue
Block a user