Rebuild frontend.

This commit is contained in:
James Cole
2021-04-03 10:40:31 +02:00
parent 7f55a870d9
commit 34f4b16a63
70 changed files with 266 additions and 43 deletions

View File

@@ -320,18 +320,4 @@ class AccountUpdateService
}
Log::debug('Account was not marked as inactive, do nothing.');
}
/**
* @param string $type
*
* @return bool
*/
private function isLiabilityType(string $type): bool
{
if ('' === $type) {
return false;
}
return 1 === AccountType::whereIn('type', [AccountType::DEBT, AccountType::LOAN, AccountType::MORTGAGE])->where('type', ucfirst($type))->count();
}
}