more fixes for persontype

This commit is contained in:
Timotheus Pokorra 2024-10-10 10:12:06 +02:00 committed by Dev und Test fuer hsadminng
parent 3a55a861f3
commit 4eb7f2e19d

View File

@ -1121,7 +1121,7 @@ public abstract class BaseOfficeDataImport extends CsvDataImport {
// should actually be split up into two persons
// but the legacy database consists such records
if (endsWithWord(tradeName, "OHG", "GbR", "KG", "UG")) {
if (endsWithWord(tradeName, "OHG", "GbR", "KG", "UG", "PartGmbB", "mbB")) {
return HsOfficePersonType.INCORPORATED_FIRM; // Personengesellschaft. Gesellschafter haften persönlich.
} else if (containsWord(tradeName, "e.K.", "e.G.", "eG", "gGmbH", "GmbH", "mbH", "AG", "e.V.", "eV", "e.V")
|| tradeName.toLowerCase().contains("haftungsbeschränkt")
@ -1132,6 +1132,8 @@ public abstract class BaseOfficeDataImport extends CsvDataImport {
|| tradeName.toLowerCase().contains("verein")
|| tradeName.toLowerCase().contains("gewerkschaft")
|| tradeName.toLowerCase().contains("gesellschaft")
|| tradeName.toLowerCase().contains("kirche")
|| tradeName.toLowerCase().contains("fraktion")
|| tradeName.toLowerCase().contains("landkreis")
|| tradeName.toLowerCase().contains("behörde")
|| tradeName.toLowerCase().contains("bundesamt")