update 20241210

This commit is contained in:
Stefan Hutter
2024-12-10 20:36:02 +01:00
parent 8ade484063
commit 2c42687a40
191 changed files with 71919 additions and 482 deletions

View File

@@ -22,6 +22,7 @@ namespace OnDoc.Klassen
public static string UseAPI { get; set; } = "FALSE";
public static int CurrentMitarbieter { get; set; }
public static string CurrentTGNummer { get; set; } = "";
public static string RESTURI { get; set; } = "";//"http://localhost:2032/";
public static string apikey { get; set; } = "";
@@ -36,6 +37,8 @@ namespace OnDoc.Klassen
public static string ZusatzFont { get; set; } = "";
public static string ZusatzFontSize { get; set; } = "";
public static string EDOKAPath { get; set; } = "";
static AppParams()
{
@@ -64,6 +67,7 @@ namespace OnDoc.Klassen
barcodetextposition = Properties.Settings.Default.BarodeTextPosition;
ZusatzFont = Properties.Settings.Default.ZusatzFont;
ZusatzFontSize = Properties.Settings.Default.ZusatzFontSize;
EDOKAPath=Properties.Settings.Default.edokapath;
}
}
@@ -91,10 +95,17 @@ namespace OnDoc.Klassen
public static string dokumenttypnr { get; set; } = "0";
public static string Interaktion { get; set; } = "Yes";
public static string showdoc { get; set; } = "Yes";
public static string unterschriftenpruefung { get; set; } = "No";
public static Boolean parseparams()
{
if (executed) return false;
string sparam = sourceparam.Substring(sourceparam.IndexOf('?') + 1, sourceparam.Length - (sourceparam.IndexOf('?') + 1));
if (sparam.ToLower() == "ucheck")
{
unterschriftenpruefung = "Yes";
return true;
}
sparam = Uri.UnescapeDataString(sparam);
executed = true;
sourceparam = "";