mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-05 12:12:18 +00:00
Clean up some code.
This commit is contained in:
@@ -53,7 +53,7 @@ trait ReconciliationValidation
|
||||
|
||||
return false;
|
||||
}
|
||||
// $types depends on type of source:
|
||||
// types depends on type of source:
|
||||
$types = [AccountType::ASSET, AccountType::LOAN, AccountType::DEBT, AccountType::MORTGAGE];
|
||||
// if source is reconciliation, destination can't be.
|
||||
if (null !== $this->source && AccountType::RECONCILIATION === $this->source->accountType->type) {
|
||||
|
Reference in New Issue
Block a user