From ef7c3c268f1ccd6128781de9258d7e172a7e5ade Mon Sep 17 00:00:00 2001 From: Elias Fierke Date: Wed, 4 Nov 2026 21:49:02 +0100 Subject: [PATCH] [chore:] added new fields --- DataStore/SchemaMigration.cs | 10 ++++++++++ DataStore/Settings.cs | 3 +++ 2 files changed, 13 insertions(+) diff --git a/DataStore/SchemaMigration.cs b/DataStore/SchemaMigration.cs index e757d69..d894e84 100644 --- a/DataStore/SchemaMigration.cs +++ b/DataStore/SchemaMigration.cs @@ -112,6 +112,16 @@ public static class SchemaMigration { obj["expLabEnable"] = JToken.FromObject(new PdfExportSettings().expLabEnable); } + + if (!obj.ContainsKey("expInt")) + { + obj["expInt"] = JToken.FromObject(new PdfExportSettings().expInt); + } + + if (!obj.ContainsKey("expNat")) + { + obj["expNat"] = JToken.FromObject(new PdfExportSettings().expNat); + } return obj; } diff --git a/DataStore/Settings.cs b/DataStore/Settings.cs index cfeb223..ed280b6 100644 --- a/DataStore/Settings.cs +++ b/DataStore/Settings.cs @@ -118,6 +118,9 @@ public class PdfExportSettings public int rsNumGrouped { get; set; } = 25; public bool rsPvSt { get; set; } = true; + public bool expInt { get; set; } = true; + public bool expNat { get; set; } = true; + public string rsKNrAbs { get; set; } = ""; public string rsKNrEmp { get; set; } = ""; public string rsZKZ { get; set; } = "";