From 1b200ee41e40632d9e56d76089792bbfb9e2971d Mon Sep 17 00:00:00 2001 From: Elias Fierke Date: Wed, 3 Jun 2026 16:05:11 +0200 Subject: [PATCH] [chore:] set used_plz --- Tasks/AddressCreation.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tasks/AddressCreation.cs b/Tasks/AddressCreation.cs index e1f3105..0c937ec 100644 --- a/Tasks/AddressCreation.cs +++ b/Tasks/AddressCreation.cs @@ -104,6 +104,7 @@ public static class AddressCreator // Alternative A: pplz valid and city existing if (!string.IsNullOrEmpty(address.ort) && CheckPLZ(address.pplz, address.land)) { + KasPerson.SetUsedPLZ(id, address.pplz); string_address = address.pplz + " " + address.ort + "\n" + string_address; address_line_count++; if (!string.IsNullOrWhiteSpace(address.postfach)) @@ -150,6 +151,7 @@ public static class AddressCreator } // Alternative B: plz valid and city existing else if (!string.IsNullOrEmpty(address.ort) && CheckPLZ(address.plz, address.land)) { + KasPerson.SetUsedPLZ(id, address.plz); string_address = address.plz + " " + address.ort + "\n" + string_address; address_line_count++; if (!string.IsNullOrWhiteSpace(address.strasse))