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; } = "";