Merge pull request #3036 from JC5/develop

Fixes #2998
This commit is contained in:
James Cole
2020-01-21 17:59:20 +01:00
committed by GitHub

View File

@@ -141,7 +141,7 @@ class UniqueIban implements Rule
// may appear once in revenue accounts
$maxCounts[AccountType::REVENUE] = 1;
}
if ('revenue' === $this->expectedType || AccountType::EXPENSE === $this->expectedType) {
if ('revenue' === $this->expectedType || AccountType::REVENUE === $this->expectedType) {
// IBAN should be unique amongst revenue and asset accounts.
// may appear once in expense accounts
$maxCounts[AccountType::EXPENSE] = 1;