Update 20250206
This commit is contained in:
@@ -91,10 +91,11 @@ namespace OnDocAPI_NetFramework.Controllers
|
||||
s = s.Replace("$$body$$", message);
|
||||
string debugdir = System.Configuration.ConfigurationManager.AppSettings["DebugDir"];
|
||||
string tmpfile = debugdir + @"\Mail_" + DateTime.Now.ToString("yyyyMMdd_hhmmss") + ".ps1";
|
||||
StreamWriter writer = new StreamWriter(tmpfile);
|
||||
writer.Write(s);
|
||||
writer.Close();
|
||||
writer.Dispose();
|
||||
System.IO.File.WriteAllText(tmpfile, s);
|
||||
//StreamWriter writer = new StreamWriter(tmpfile);
|
||||
//writer.Write(s);
|
||||
//writer.Close();
|
||||
//writer.Dispose();
|
||||
System.Diagnostics.Process.Start("powershell.exe", tmpfile);
|
||||
APILogging.Log((HttpRequestMessage)Request, "Mail Versand: " + s, LogLevelType.Debug);
|
||||
//return Content(HttpStatusCode.OK, "Mail versand noch nicht implementiert");
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -4334,3 +4334,316 @@ Parametername: encoder
|
||||
2025-02-05 11:30:14.7145|DEBUG|OnDoc|
|
||||
2025-02-05 11:30:14.7441|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: Stefan Hutter lokal
|
||||
2025-02-05 11:30:14.7441|INFO|OnDoc|Unterschrift-Bezug: Stefan Hutter lokal
|
||||
2025-02-06 09:53:09.0571|DEBUG|OnDoc|
|
||||
2025-02-06 09:53:09.0871|DEBUG|OnDoc|
|
||||
2025-02-06 09:53:09.1132|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: TG1807
|
||||
2025-02-06 09:53:09.1132|INFO|OnDoc|Unterschrift-Bezug - nicht vorhanden: TG1807 DEMO-Unterschrfit verwendet
|
||||
2025-02-06 09:53:09.1132|INFO|OnDoc|Unterschrift-Bezug: TG1807
|
||||
2025-02-06 09:53:09.1943|DEBUG|OnDoc|
|
||||
2025-02-06 09:53:09.2039|DEBUG|OnDoc|
|
||||
2025-02-06 09:53:09.2279|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: TG6112
|
||||
2025-02-06 09:53:09.2279|INFO|OnDoc|Unterschrift-Bezug - nicht vorhanden: TG6112 DEMO-Unterschrfit verwendet
|
||||
2025-02-06 09:53:09.2341|INFO|OnDoc|Unterschrift-Bezug: TG6112
|
||||
2025-02-06 09:53:24.7434|DEBUG|OnDoc|
|
||||
2025-02-06 09:53:24.7434|DEBUG|OnDoc|
|
||||
2025-02-06 09:53:24.7728|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: TG1807
|
||||
2025-02-06 09:53:24.7728|INFO|OnDoc|Unterschrift-Bezug - nicht vorhanden: TG1807 DEMO-Unterschrfit verwendet
|
||||
2025-02-06 09:53:24.7728|INFO|OnDoc|Unterschrift-Bezug: TG1807
|
||||
2025-02-06 09:53:24.8129|DEBUG|OnDoc|
|
||||
2025-02-06 09:53:24.8129|DEBUG|OnDoc|
|
||||
2025-02-06 09:53:24.8379|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: TG6112
|
||||
2025-02-06 09:53:24.8379|INFO|OnDoc|Unterschrift-Bezug - nicht vorhanden: TG6112 DEMO-Unterschrfit verwendet
|
||||
2025-02-06 09:53:24.8379|INFO|OnDoc|Unterschrift-Bezug: TG6112
|
||||
2025-02-06 09:54:10.1183|DEBUG|OnDoc|
|
||||
2025-02-06 09:54:10.1183|DEBUG|OnDoc|
|
||||
2025-02-06 09:54:10.1509|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: TG1807
|
||||
2025-02-06 09:54:10.1541|INFO|OnDoc|Unterschrift-Bezug - nicht vorhanden: TG1807 DEMO-Unterschrfit verwendet
|
||||
2025-02-06 09:54:10.1541|INFO|OnDoc|Unterschrift-Bezug: TG1807
|
||||
2025-02-06 09:54:26.5478|INFO|OnDoc|Unterschriften-Image gespeichert - TG1807
|
||||
2025-02-06 09:54:27.4140|DEBUG|OnDoc|
|
||||
2025-02-06 09:54:27.4236|DEBUG|OnDoc|
|
||||
2025-02-06 09:54:27.4474|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: TG1807
|
||||
2025-02-06 09:54:27.4474|INFO|OnDoc|Unterschrift-Bezug: TG1807
|
||||
2025-02-06 09:54:42.6629|DEBUG|OnDoc|
|
||||
2025-02-06 09:54:42.6629|DEBUG|OnDoc|
|
||||
2025-02-06 09:54:42.6899|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: TG6112
|
||||
2025-02-06 09:54:42.6899|INFO|OnDoc|Unterschrift-Bezug - nicht vorhanden: TG6112 DEMO-Unterschrfit verwendet
|
||||
2025-02-06 09:54:42.6899|INFO|OnDoc|Unterschrift-Bezug: TG6112
|
||||
2025-02-06 09:54:53.7809|INFO|OnDoc|Unterschriften-Image gespeichert - TG6112
|
||||
2025-02-06 09:54:54.9060|DEBUG|OnDoc|
|
||||
2025-02-06 09:54:54.9060|DEBUG|OnDoc|
|
||||
2025-02-06 09:54:54.9431|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: TG6112
|
||||
2025-02-06 09:54:54.9431|INFO|OnDoc|Unterschrift-Bezug: TG6112
|
||||
2025-02-06 09:55:10.5097|DEBUG|OnDoc|
|
||||
2025-02-06 09:55:10.5097|DEBUG|OnDoc|
|
||||
2025-02-06 09:55:10.5359|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: TG1807
|
||||
2025-02-06 09:55:10.5359|INFO|OnDoc|Unterschrift-Bezug: TG1807
|
||||
2025-02-06 09:55:10.5762|DEBUG|OnDoc|
|
||||
2025-02-06 09:55:10.5762|DEBUG|OnDoc|
|
||||
2025-02-06 09:55:10.6022|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: TG6112
|
||||
2025-02-06 09:55:10.6022|INFO|OnDoc|Unterschrift-Bezug: TG6112
|
||||
2025-02-06 09:55:48.7241|DEBUG|OnDoc|
|
||||
2025-02-06 09:55:48.7241|DEBUG|OnDoc|
|
||||
2025-02-06 09:55:48.7503|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: TG1807
|
||||
2025-02-06 09:55:48.7503|INFO|OnDoc|Unterschrift-Bezug: TG1807
|
||||
2025-02-06 09:55:48.7909|DEBUG|OnDoc|
|
||||
2025-02-06 09:55:48.7909|DEBUG|OnDoc|
|
||||
2025-02-06 09:55:48.8170|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: TG6112
|
||||
2025-02-06 09:55:48.8170|INFO|OnDoc|Unterschrift-Bezug: TG6112
|
||||
2025-02-06 09:58:34.1661|DEBUG|OnDoc|
|
||||
2025-02-06 09:58:34.1661|DEBUG|OnDoc|
|
||||
2025-02-06 09:58:34.1919|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: TG1807
|
||||
2025-02-06 09:58:34.1919|INFO|OnDoc|Unterschrift-Bezug: TG1807
|
||||
2025-02-06 09:58:34.2320|DEBUG|OnDoc|
|
||||
2025-02-06 09:58:34.2340|DEBUG|OnDoc|
|
||||
2025-02-06 09:58:34.2579|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: TG6112
|
||||
2025-02-06 09:58:34.2579|INFO|OnDoc|Unterschrift-Bezug: TG6112
|
||||
2025-02-06 10:00:40.2751|DEBUG|OnDoc|
|
||||
2025-02-06 10:00:40.2851|DEBUG|OnDoc|
|
||||
2025-02-06 10:00:40.3123|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: TG1807
|
||||
2025-02-06 10:00:40.3123|INFO|OnDoc|Unterschrift-Bezug: TG1807
|
||||
2025-02-06 10:00:40.3552|DEBUG|OnDoc|
|
||||
2025-02-06 10:00:40.3582|DEBUG|OnDoc|
|
||||
2025-02-06 10:00:40.3894|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: TG6112
|
||||
2025-02-06 10:00:40.3894|INFO|OnDoc|Unterschrift-Bezug: TG6112
|
||||
2025-02-06 10:02:01.5731|DEBUG|OnDoc|
|
||||
2025-02-06 10:02:01.5761|DEBUG|OnDoc|
|
||||
2025-02-06 10:02:01.5998|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: Stefan Hutter lokal
|
||||
2025-02-06 10:02:01.5998|INFO|OnDoc|Unterschrift-Bezug: Stefan Hutter lokal
|
||||
2025-02-06 10:02:33.5830|DEBUG|OnDoc|
|
||||
2025-02-06 10:02:33.5830|DEBUG|OnDoc|
|
||||
2025-02-06 10:02:33.6177|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: Stefan Hutter lokal
|
||||
2025-02-06 10:02:33.6177|INFO|OnDoc|Unterschrift-Bezug: Stefan Hutter lokal
|
||||
2025-02-06 10:02:50.2091|DEBUG|OnDoc|
|
||||
2025-02-06 10:02:50.2091|DEBUG|OnDoc|
|
||||
2025-02-06 10:02:50.2362|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: Stefan Hutter lokal
|
||||
2025-02-06 10:02:50.2362|INFO|OnDoc|Unterschrift-Bezug: Stefan Hutter lokal
|
||||
2025-02-06 10:02:52.3282|DEBUG|OnDoc|
|
||||
2025-02-06 10:02:52.3282|DEBUG|OnDoc|
|
||||
2025-02-06 10:02:52.3594|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: Stefan Hutter lokal
|
||||
2025-02-06 10:02:52.3594|INFO|OnDoc|Unterschrift-Bezug: Stefan Hutter lokal
|
||||
2025-02-06 10:03:13.6695|DEBUG|OnDoc|
|
||||
2025-02-06 10:03:13.6715|DEBUG|OnDoc|
|
||||
2025-02-06 10:03:13.6980|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: Stefan Hutter lokal
|
||||
2025-02-06 10:03:13.7010|INFO|OnDoc|Unterschrift-Bezug: Stefan Hutter lokal
|
||||
2025-02-06 10:03:22.1768|INFO|OnDoc|Unterschriften-Image gespeichert - Stefan Hutter lokal
|
||||
2025-02-06 10:03:22.2156|DEBUG|OnDoc|
|
||||
2025-02-06 10:03:22.2186|DEBUG|OnDoc|
|
||||
2025-02-06 10:03:22.2422|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: Stefan Hutter lokal
|
||||
2025-02-06 10:03:22.2422|INFO|OnDoc|Unterschrift-Bezug: Stefan Hutter lokal
|
||||
2025-02-06 10:05:08.8596|DEBUG|OnDoc|
|
||||
2025-02-06 10:05:08.8596|DEBUG|OnDoc|
|
||||
2025-02-06 10:05:08.8899|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: TG1807
|
||||
2025-02-06 10:05:08.8899|INFO|OnDoc|Unterschrift-Bezug: TG1807
|
||||
2025-02-06 10:05:08.9351|DEBUG|OnDoc|
|
||||
2025-02-06 10:05:08.9388|DEBUG|OnDoc|
|
||||
2025-02-06 10:05:08.9634|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: TG6112
|
||||
2025-02-06 10:05:08.9634|INFO|OnDoc|Unterschrift-Bezug: TG6112
|
||||
2025-02-06 10:05:24.9200|DEBUG|OnDoc|Mailversand: 134
|
||||
2025-02-06 10:05:24.9767|DEBUG|OnDoc|
|
||||
2025-02-06 10:05:24.9902|DEBUG|OnDoc|
|
||||
2025-02-06 10:05:25.0332|DEBUG|OnDoc|Mail Versand: Send-MailMessage -from "OnDoc@tkb.ch" -to "stefan.hutter@tkb.ch" -Subject "Dokumentprüfung " -Body "Guten Tag
|
||||
Das Dokument mit dier ID wurde zur Prüfung zugestellt.
|
||||
Mit folgendem Link kann OnDoc-Prüfung direkt gestartet werden:
|
||||
ondoc:?funktion=ucheck" -smtpServer smtp.tgcorp.ch
|
||||
2025-02-06 10:05:25.0462|DEBUG|OnDoc|Mailversand: 1287
|
||||
2025-02-06 10:05:25.0749|DEBUG|OnDoc|
|
||||
2025-02-06 10:05:25.0769|DEBUG|OnDoc|
|
||||
2025-02-06 10:05:25.1034|DEBUG|OnDoc|Mail Versand: Send-MailMessage -from "OnDoc@tkb.ch" -to "stefan.hutter@tkb.ch" -Subject "Dokumentprüfung " -Body "Guten Tag
|
||||
Das Dokument mit dier ID wurde zur Prüfung zugestellt.
|
||||
Mit folgendem Link kann OnDoc-Prüfung direkt gestartet werden:
|
||||
ondoc:?funktion=ucheck" -smtpServer smtp.tgcorp.ch
|
||||
2025-02-06 10:25:07.6953|DEBUG|OnDoc|
|
||||
2025-02-06 10:25:07.7361|DEBUG|OnDoc|
|
||||
2025-02-06 10:25:07.7674|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: TG1807
|
||||
2025-02-06 10:25:07.7674|INFO|OnDoc|Unterschrift-Bezug: TG1807
|
||||
2025-02-06 10:25:07.8412|DEBUG|OnDoc|
|
||||
2025-02-06 10:25:07.8512|DEBUG|OnDoc|
|
||||
2025-02-06 10:25:07.8752|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: TG6112
|
||||
2025-02-06 10:25:07.8752|INFO|OnDoc|Unterschrift-Bezug: TG6112
|
||||
2025-02-06 10:25:48.9231|DEBUG|OnDoc|Mailversand: 134
|
||||
2025-02-06 10:25:48.9516|DEBUG|OnDoc|
|
||||
2025-02-06 10:25:48.9516|DEBUG|OnDoc|
|
||||
2025-02-06 10:25:48.9913|DEBUG|OnDoc|Mail Versand: Send-MailMessage -from "OnDoc@tkb.ch" -to "stefan.hutter@tkb.ch" -Subject "Dokumentprüfung " -Body "Guten Tag
|
||||
Das Dokument mit dier ID wurde zur Prüfung zugestellt.
|
||||
Mit folgendem Link kann OnDoc-Prüfung direkt gestartet werden:
|
||||
ondoc:?funktion=ucheck" -smtpServer smtp.tgcorp.ch
|
||||
2025-02-06 10:25:49.0023|DEBUG|OnDoc|Mailversand: 1287
|
||||
2025-02-06 10:25:49.0283|DEBUG|OnDoc|
|
||||
2025-02-06 10:25:49.0366|DEBUG|OnDoc|
|
||||
2025-02-06 10:25:49.0647|DEBUG|OnDoc|Mail Versand: Send-MailMessage -from "OnDoc@tkb.ch" -to "stefan.hutter@tkb.ch" -Subject "Dokumentprüfung " -Body "Guten Tag
|
||||
Das Dokument mit dier ID wurde zur Prüfung zugestellt.
|
||||
Mit folgendem Link kann OnDoc-Prüfung direkt gestartet werden:
|
||||
ondoc:?funktion=ucheck" -smtpServer smtp.tgcorp.ch
|
||||
2025-02-06 10:53:03.3713|DEBUG|OnDoc|
|
||||
2025-02-06 10:53:03.4069|DEBUG|OnDoc|
|
||||
2025-02-06 10:53:03.4337|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: Stefan Hutter lokal
|
||||
2025-02-06 10:53:03.4367|INFO|OnDoc|Unterschrift-Bezug: Stefan Hutter lokal
|
||||
2025-02-06 10:58:23.3922|DEBUG|OnDoc|
|
||||
2025-02-06 10:58:23.4246|DEBUG|OnDoc|
|
||||
2025-02-06 10:58:23.4530|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: Stefan Hutter lokal
|
||||
2025-02-06 10:58:23.4530|INFO|OnDoc|Unterschrift-Bezug: Stefan Hutter lokal
|
||||
2025-02-06 10:59:38.6799|DEBUG|OnDoc|
|
||||
2025-02-06 10:59:38.6799|DEBUG|OnDoc|
|
||||
2025-02-06 10:59:38.7102|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: Stefan Hutter lokal
|
||||
2025-02-06 10:59:38.7102|INFO|OnDoc|Unterschrift-Bezug: Stefan Hutter lokal
|
||||
2025-02-06 11:08:19.2996|DEBUG|OnDoc|
|
||||
2025-02-06 11:08:19.3331|DEBUG|OnDoc|
|
||||
2025-02-06 11:08:19.3596|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: Stefan Hutter lokal
|
||||
2025-02-06 11:08:19.3596|INFO|OnDoc|Unterschrift-Bezug: Stefan Hutter lokal
|
||||
2025-02-06 11:08:19.4179|DEBUG|OnDoc|
|
||||
2025-02-06 11:08:19.4209|DEBUG|OnDoc|
|
||||
2025-02-06 11:08:19.4454|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: Stefan Hutter lokal
|
||||
2025-02-06 11:08:19.4454|INFO|OnDoc|Unterschrift-Bezug: Stefan Hutter lokal
|
||||
2025-02-06 11:08:19.5050|DEBUG|OnDoc|
|
||||
2025-02-06 11:08:19.5050|DEBUG|OnDoc|
|
||||
2025-02-06 11:08:19.5275|DEBUG|OnDoc|TGNummer für Mitarbeiter nicht vorhanden Mitarbeiternr: -1
|
||||
2025-02-06 11:08:19.6089|DEBUG|OnDoc|
|
||||
2025-02-06 11:08:19.6089|DEBUG|OnDoc|
|
||||
2025-02-06 11:08:19.6345|DEBUG|OnDoc|TGNummer für Mitarbeiter nicht vorhanden Mitarbeiternr: -1
|
||||
2025-02-06 11:11:15.5721|DEBUG|OnDoc|
|
||||
2025-02-06 11:11:15.5964|DEBUG|OnDoc|
|
||||
2025-02-06 11:11:15.6252|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: Stefan Hutter lokal
|
||||
2025-02-06 11:11:15.6252|INFO|OnDoc|Unterschrift-Bezug: Stefan Hutter lokal
|
||||
2025-02-06 11:11:45.0057|DEBUG|OnDoc|
|
||||
2025-02-06 11:11:45.0057|DEBUG|OnDoc|
|
||||
2025-02-06 11:11:45.0357|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: Stefan Hutter lokal
|
||||
2025-02-06 11:11:45.0357|INFO|OnDoc|Unterschrift-Bezug: Stefan Hutter lokal
|
||||
2025-02-06 17:55:08.4517|DEBUG|OnDoc|
|
||||
2025-02-06 17:55:08.4835|DEBUG|OnDoc|
|
||||
2025-02-06 17:55:08.5106|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: Stefan Hutter lokal
|
||||
2025-02-06 17:55:08.5106|INFO|OnDoc|Unterschrift-Bezug: Stefan Hutter lokal
|
||||
2025-02-06 17:55:08.5879|DEBUG|OnDoc|
|
||||
2025-02-06 17:55:08.5976|DEBUG|OnDoc|
|
||||
2025-02-06 17:55:08.6137|DEBUG|OnDoc|TGNummer für Mitarbeiter nicht vorhanden Mitarbeiternr: -1
|
||||
2025-02-06 17:55:54.3640|DEBUG|OnDoc|
|
||||
2025-02-06 17:55:54.3756|DEBUG|OnDoc|
|
||||
2025-02-06 17:55:54.4018|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: Stefan Hutter lokal
|
||||
2025-02-06 17:55:54.4053|INFO|OnDoc|Unterschrift-Bezug: Stefan Hutter lokal
|
||||
2025-02-06 17:55:54.4469|DEBUG|OnDoc|
|
||||
2025-02-06 17:55:54.4469|DEBUG|OnDoc|
|
||||
2025-02-06 17:55:54.4651|DEBUG|OnDoc|TGNummer für Mitarbeiter nicht vorhanden Mitarbeiternr: -1
|
||||
2025-02-06 17:56:13.4388|DEBUG|OnDoc|Start ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002489100
|
||||
2025-02-06 17:56:13.4388|DEBUG|OnDoc|
|
||||
2025-02-06 17:56:13.4388|DEBUG|OnDoc|
|
||||
2025-02-06 17:56:13.4388|DEBUG|OnDoc|
|
||||
2025-02-06 17:56:13.4388|DEBUG|OnDoc|
|
||||
2025-02-06 17:56:13.4518|DEBUG|OnDoc|
|
||||
2025-02-06 17:56:13.4518|DEBUG|OnDoc|
|
||||
2025-02-06 17:56:14.8411|DEBUG|OnDoc|Start Transfer to OnBase
|
||||
2025-02-06 17:56:14.9907|DEBUG|OnDoc|Ende Transfer to OnBase
|
||||
2025-02-06 17:56:15.0077|DEBUG|OnDoc|Ende ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002489100
|
||||
2025-02-06 17:56:15.0077|DEBUG|OnDoc|Start Updaet IL_Log: DokumentID:OFFEDK0082025002489100
|
||||
2025-02-06 17:56:15.0173|DEBUG|OnDoc|Ende Update IL_Log: DokumentID:OFFEDK0082025002489100
|
||||
2025-02-06 17:56:15.0173|DEBUG|OnDoc|
|
||||
2025-02-06 17:56:15.0173|DEBUG|OnDoc|
|
||||
2025-02-06 17:56:15.0173|DEBUG|OnDoc|
|
||||
2025-02-06 17:56:15.0649|DEBUG|OnDoc|
|
||||
2025-02-06 17:56:15.0649|DEBUG|OnDoc|
|
||||
2025-02-06 17:56:15.0649|DEBUG|OnDoc|
|
||||
2025-02-06 18:04:20.1880|DEBUG|OnDoc|
|
||||
2025-02-06 18:04:20.2218|DEBUG|OnDoc|
|
||||
2025-02-06 18:04:20.2509|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: Stefan Hutter lokal
|
||||
2025-02-06 18:04:20.2509|INFO|OnDoc|Unterschrift-Bezug: Stefan Hutter lokal
|
||||
2025-02-06 18:04:20.3277|DEBUG|OnDoc|
|
||||
2025-02-06 18:04:20.3277|DEBUG|OnDoc|
|
||||
2025-02-06 18:04:20.3557|DEBUG|OnDoc|TGNummer für Mitarbeiter nicht vorhanden Mitarbeiternr: -1
|
||||
2025-02-06 18:06:10.5323|DEBUG|OnDoc|
|
||||
2025-02-06 18:06:10.5649|DEBUG|OnDoc|
|
||||
2025-02-06 18:06:10.5919|DEBUG|OnDoc|Start GetUnterschriftAsBase64 TGNummer: Stefan Hutter lokal
|
||||
2025-02-06 18:06:10.5919|INFO|OnDoc|Unterschrift-Bezug: Stefan Hutter lokal
|
||||
2025-02-06 18:06:10.6576|DEBUG|OnDoc|
|
||||
2025-02-06 18:06:10.6576|DEBUG|OnDoc|
|
||||
2025-02-06 18:06:10.6810|DEBUG|OnDoc|TGNummer für Mitarbeiter nicht vorhanden Mitarbeiternr: -1
|
||||
2025-02-06 18:06:28.3622|DEBUG|OnDoc|Start ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002489111
|
||||
2025-02-06 18:06:28.3622|DEBUG|OnDoc|
|
||||
2025-02-06 18:06:28.3622|DEBUG|OnDoc|
|
||||
2025-02-06 18:06:28.3622|DEBUG|OnDoc|
|
||||
2025-02-06 18:06:28.3622|DEBUG|OnDoc|
|
||||
2025-02-06 18:06:28.3622|DEBUG|OnDoc|
|
||||
2025-02-06 18:06:28.3816|DEBUG|OnDoc|
|
||||
2025-02-06 18:07:05.9375|DEBUG|OnDoc|Start Transfer to OnBase
|
||||
2025-02-06 18:07:06.1361|DEBUG|OnDoc|Ende Transfer to OnBase
|
||||
2025-02-06 18:07:06.1660|DEBUG|OnDoc|Ende ArchiveDocFromDatabase: DokumentID:OFFEDK0082025002489111
|
||||
2025-02-06 18:07:06.1660|DEBUG|OnDoc|Start Updaet IL_Log: DokumentID:OFFEDK0082025002489111
|
||||
2025-02-06 18:07:06.1775|DEBUG|OnDoc|Ende Update IL_Log: DokumentID:OFFEDK0082025002489111
|
||||
2025-02-06 18:07:06.1775|DEBUG|OnDoc|
|
||||
2025-02-06 18:07:06.1775|DEBUG|OnDoc|
|
||||
2025-02-06 18:07:06.1775|DEBUG|OnDoc|
|
||||
2025-02-06 18:07:06.1880|DEBUG|OnDoc|
|
||||
2025-02-06 18:07:06.1880|DEBUG|OnDoc|
|
||||
2025-02-06 18:07:06.1880|DEBUG|OnDoc|
|
||||
2025-02-06 19:22:36.7304|DEBUG|OnDoc|Mailversand: test@test.tkbDübel
|
||||
2025-02-06 19:22:54.6384|DEBUG|OnDoc|Mailversand: test@tkb.chDübel
|
||||
2025-02-06 19:22:57.3634|DEBUG|OnDoc|
|
||||
2025-02-06 19:22:57.3739|DEBUG|OnDoc|
|
||||
2025-02-06 19:23:03.9692|DEBUG|OnDoc|Mail Versand NOK: Ein Objekt kann nicht von DBNull in andere Typen umgewandelt werden.
|
||||
2025-02-06 19:23:16.5719|DEBUG|OnDoc|Mailversand: test@tkb.chtest
|
||||
2025-02-06 19:23:19.2171|DEBUG|OnDoc|
|
||||
2025-02-06 19:23:19.2171|DEBUG|OnDoc|
|
||||
2025-02-06 19:23:26.8042|DEBUG|OnDoc|Mail Versand NOK: Ein Objekt kann nicht von DBNull in andere Typen umgewandelt werden.
|
||||
2025-02-06 19:24:14.0280|DEBUG|OnDoc|Mailversand: test@tkb.chäöü ÄÖÜ
|
||||
2025-02-06 19:24:16.4722|DEBUG|OnDoc|
|
||||
2025-02-06 19:24:16.4722|DEBUG|OnDoc|
|
||||
2025-02-06 19:24:23.4277|DEBUG|OnDoc|Mail Versand NOK: Ein Objekt kann nicht von DBNull in andere Typen umgewandelt werden.
|
||||
2025-02-06 19:26:55.1474|DEBUG|OnDoc|Mailversand: 1äöü ÄÖÜ
|
||||
2025-02-06 19:26:57.6743|DEBUG|OnDoc|
|
||||
2025-02-06 19:26:57.6854|DEBUG|OnDoc|
|
||||
2025-02-06 19:30:32.7368|DEBUG|OnDoc|Mailversand: 1äöü
|
||||
2025-02-06 19:30:32.8478|ERROR|OnDoc|Unberechtigter Zugriff
|
||||
2025-02-06 19:31:32.9725|DEBUG|OnDoc|Mailversand: 1äöü
|
||||
2025-02-06 19:31:35.4956|DEBUG|OnDoc|
|
||||
2025-02-06 19:31:35.5060|DEBUG|OnDoc|
|
||||
2025-02-06 19:33:05.1253|DEBUG|OnDoc|Start Adresse GetAll
|
||||
2025-02-06 19:33:05.1852|DEBUG|OnDoc|
|
||||
2025-02-06 19:33:05.1914|DEBUG|OnDoc|
|
||||
2025-02-06 19:33:05.1914|DEBUG|OnDoc|Ende Adresse GetAll
|
||||
2025-02-06 19:33:08.5036|DEBUG|OnDoc|Start Adresse GetAll
|
||||
2025-02-06 19:33:08.5387|DEBUG|OnDoc|
|
||||
2025-02-06 19:33:08.5387|DEBUG|OnDoc|
|
||||
2025-02-06 19:33:08.5387|DEBUG|OnDoc|Ende Adresse GetAll
|
||||
2025-02-06 19:33:15.9833|DEBUG|OnDoc|Start Adresse GetAll
|
||||
2025-02-06 19:33:16.0191|DEBUG|OnDoc|
|
||||
2025-02-06 19:33:16.0191|DEBUG|OnDoc|
|
||||
2025-02-06 19:33:16.0191|DEBUG|OnDoc|Ende Adresse GetAll
|
||||
2025-02-06 19:33:22.0870|DEBUG|OnDoc|Start Adresse GetAll
|
||||
2025-02-06 19:33:22.1223|DEBUG|OnDoc|
|
||||
2025-02-06 19:33:22.1243|DEBUG|OnDoc|
|
||||
2025-02-06 19:33:22.1243|DEBUG|OnDoc|Ende Adresse GetAll
|
||||
2025-02-06 19:33:25.3878|DEBUG|OnDoc|Start Adresse GetAll
|
||||
2025-02-06 19:33:25.4233|DEBUG|OnDoc|
|
||||
2025-02-06 19:33:25.4233|DEBUG|OnDoc|
|
||||
2025-02-06 19:33:25.4233|DEBUG|OnDoc|Ende Adresse GetAll
|
||||
2025-02-06 19:33:38.0825|DEBUG|OnDoc|Start Adresse GetByID ID:%
|
||||
2025-02-06 19:33:38.1178|DEBUG|OnDoc|
|
||||
2025-02-06 19:33:38.1509|ERROR|OnDoc|Falsche Syntax in der Nähe des for-Schlüsselworts.
|
||||
2025-02-06 19:33:38.1685|ERROR|OnDoc|Die Tabelle 0 kann nicht gefunden werden.
|
||||
2025-02-06 19:33:43.1273|DEBUG|OnDoc|Start Adresse GetByID ID:*
|
||||
2025-02-06 19:33:43.1633|DEBUG|OnDoc|
|
||||
2025-02-06 19:33:43.1893|ERROR|OnDoc|Falsche Syntax in der Nähe von "*".
|
||||
2025-02-06 19:33:43.2053|ERROR|OnDoc|Die Tabelle 0 kann nicht gefunden werden.
|
||||
2025-02-06 19:34:03.2014|DEBUG|OnDoc|Start Adresse GetByID ID:update mitarbeiter set mitarbeiternr=1 where mitarbeiternr=1
|
||||
2025-02-06 19:34:03.2375|DEBUG|OnDoc|
|
||||
2025-02-06 19:34:03.2746|ERROR|OnDoc|Falsche Syntax in der Nähe des update-Schlüsselworts.
|
||||
Die FOR JSON-Klausel ist in einer UPDATE-Anweisung nicht zulässig.
|
||||
2025-02-06 19:34:03.2977|ERROR|OnDoc|Die Tabelle 0 kann nicht gefunden werden.
|
||||
2025-02-06 19:34:13.4012|DEBUG|OnDoc|Start GetMitarbeiterByID ID: 1
|
||||
2025-02-06 19:34:13.4366|DEBUG|OnDoc|
|
||||
2025-02-06 19:34:13.4366|DEBUG|OnDoc|
|
||||
2025-02-06 19:34:13.4366|DEBUG|OnDoc|Ende GetMitarbeiterByID ID: 1
|
||||
2025-02-06 19:34:17.6241|DEBUG|OnDoc|Start GetMitarbeiterByID ID: 1
|
||||
2025-02-06 19:34:17.6594|DEBUG|OnDoc|
|
||||
2025-02-06 19:34:17.6594|DEBUG|OnDoc|
|
||||
2025-02-06 19:34:17.6594|DEBUG|OnDoc|Ende GetMitarbeiterByID ID: 1
|
||||
2025-02-06 19:34:21.3636|DEBUG|OnDoc|Start GetMitarbeiterByID ID: 1
|
||||
2025-02-06 19:34:21.3996|DEBUG|OnDoc|
|
||||
2025-02-06 19:34:21.3996|DEBUG|OnDoc|
|
||||
2025-02-06 19:34:21.3996|DEBUG|OnDoc|Ende GetMitarbeiterByID ID: 1
|
||||
2025-02-06 19:34:35.0720|DEBUG|OnDoc|Start GetDocument DokumentID:*
|
||||
2025-02-06 19:34:35.1093|DEBUG|OnDoc|
|
||||
2025-02-06 19:34:35.1093|DEBUG|OnDoc|
|
||||
2025-02-06 19:34:35.3015|DEBUG|OnDoc|Ende GetDocument DokumentID:*
|
||||
2025-02-06 19:34:40.9797|DEBUG|OnDoc|Start GetDocument DokumentID:%
|
||||
2025-02-06 19:34:41.0153|DEBUG|OnDoc|
|
||||
2025-02-06 19:34:41.0153|DEBUG|OnDoc|
|
||||
2025-02-06 19:34:41.0933|DEBUG|OnDoc|Ende GetDocument DokumentID:%
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,7 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|AnyCPU'">
|
||||
<StartArguments>ondoc:%3fpartnernr=1000208&struktur=Verträge&funktion=createdoc&id=OFFEDK0082025002488929</StartArguments>
|
||||
<StartArguments>
|
||||
</StartArguments>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<PublishUrlHistory>publish\</PublishUrlHistory>
|
||||
|
||||
1
Client/Diverses/InputDialog.Designer.cs
generated
1
Client/Diverses/InputDialog.Designer.cs
generated
@@ -43,6 +43,7 @@
|
||||
this.textBox1.Name = "textBox1";
|
||||
this.textBox1.Size = new System.Drawing.Size(349, 20);
|
||||
this.textBox1.TabIndex = 0;
|
||||
this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged);
|
||||
this.textBox1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox1_KeyDown);
|
||||
//
|
||||
// label1
|
||||
|
||||
@@ -140,5 +140,10 @@ namespace OnDoc.Diverses
|
||||
{
|
||||
btnok.Enabled = true;
|
||||
}
|
||||
|
||||
private void textBox1_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (textBox1.Text.Trim().Length > 0) btnok.Enabled = true; else btnok.Enabled = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
2
Client/Diverses/SplashScreen.Designer.cs
generated
2
Client/Diverses/SplashScreen.Designer.cs
generated
@@ -64,7 +64,7 @@
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(165, 26);
|
||||
this.label2.TabIndex = 2;
|
||||
this.label2.Text = "5. Februar 2025";
|
||||
this.label2.Text = "6. Februar 2025";
|
||||
//
|
||||
// SplashScreen
|
||||
//
|
||||
|
||||
@@ -103,7 +103,6 @@ namespace OnDoc.Klassen
|
||||
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
private static void Remove_Dok_in_Bearbeitung(string dokumentid)
|
||||
{
|
||||
|
||||
1147
Client/UIControls/DokList.Designer.cs
generated
1147
Client/UIControls/DokList.Designer.cs
generated
File diff suppressed because it is too large
Load Diff
@@ -1025,6 +1025,7 @@ namespace OnDoc.UICintrols
|
||||
this.RibbonPannelAproval.Visible = false;
|
||||
|
||||
|
||||
|
||||
this.RibbonPanelExit.Visible = false;
|
||||
this.RibbonPanelProfil.Visible = false;
|
||||
this.RibbonPanelCreate.Visible = false;
|
||||
@@ -1594,6 +1595,8 @@ namespace OnDoc.UICintrols
|
||||
ribbonVorlagen.Visible = AppParams.isSysadmin;
|
||||
ribbonBerechtigung.Visible = AppParams.isSysadmin;
|
||||
ribbonpanelanalyse.Visible = AppParams.isSysadmin;
|
||||
RibbonPanelDiverses.Visible = AppParams.isSysadmin;
|
||||
|
||||
RibbonTabAdmin.Visible = false;
|
||||
RibbonTabAdmin.Visible = true;
|
||||
ribbonSaveGridView.Enabled = AppParams.isSysadmin;
|
||||
@@ -2381,7 +2384,7 @@ namespace OnDoc.UICintrols
|
||||
}
|
||||
if (records.Count > 1)
|
||||
{
|
||||
if (MessageBox.Show("Mehrere Dokumente zum Bearbeiten öffnen?", "Dokument bearbeiten", MessageBoxButtons.YesNo, MessageBoxIcon.Question) != DialogResult.Yes) { return; }
|
||||
if (MessageBox.Show("Mehrere Dokumente unterzeichnen", "Dokument unterzeichnen", MessageBoxButtons.YesNo, MessageBoxIcon.Question) != DialogResult.Yes) { return; }
|
||||
|
||||
}
|
||||
foreach (var record in records)
|
||||
@@ -2405,6 +2408,12 @@ namespace OnDoc.UICintrols
|
||||
{
|
||||
dokumentAnzeigenToolStripMenuItem_Click(sender, e);
|
||||
}
|
||||
|
||||
private void ribbonButtonDokinBearbeitung_Click(object sender, EventArgs e)
|
||||
{
|
||||
TableEditor te = new TableEditor("DokInBearbeitung");
|
||||
te.Show();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -495,6 +495,24 @@
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vAAADrwBlbxySQAAABJJREFUOE9jYBgFo2AUjAIIAAAEEAABTLtGVQAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name="ribbonButtonDokinBearbeitung.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vAAADrwBlbxySQAAABpJREFUWEftwQEBAAAAgiD/r25IQAEAAADvBhAgAAHBYCyfAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="ribbonButtonDokinBearbeitung.LargeImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vAAADrwBlbxySQAAABpJREFUWEftwQEBAAAAgiD/r25IQAEAAADvBhAgAAHBYCyfAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="ribbonButtonDokinBearbeitung.SmallImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
vAAADrwBlbxySQAAABJJREFUOE9jYBgFo2AUjAIIAAAEEAABTLtGVQAAAABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<metadata name="pdfConfig1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
|
||||
@@ -118,6 +118,8 @@ namespace OnDoc.UIControls
|
||||
{
|
||||
this.ribbonbuttonGeprueft.Enabled = enable;
|
||||
this.ribbonbuttonAbgelehnt.Enabled = enable;
|
||||
this.ctxmenuEmpfaenger.Enabled = enable;
|
||||
this.ctxmenutree.Enabled= enable;
|
||||
}
|
||||
public void dispose()
|
||||
{
|
||||
@@ -1316,7 +1318,7 @@ namespace OnDoc.UIControls
|
||||
System.Data.DataTable vorlagendaten = new System.Data.DataTable();
|
||||
private void RibbonButtonGenerateSB_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (cbdigitaleunterschrfiten.Checked)
|
||||
if (cbdigitaleunterschrfiten.Checked && sb.approved!=1)
|
||||
{
|
||||
sb.toapproval = 1;
|
||||
sb.approved = 0;
|
||||
@@ -2380,6 +2382,7 @@ namespace OnDoc.UIControls
|
||||
|
||||
private void cbdigitaleunterschrfiten_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (sb.approved == 1) { return; }
|
||||
if (cbdigitaleunterschrfiten.Checked)
|
||||
{
|
||||
cbboxunterschriftlinks.Enabled = true;
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -213,7 +213,7 @@ namespace DOCGEN.Klassen
|
||||
signature.LineFormat.Color= Color.White;
|
||||
|
||||
signature.WrapFormat.AllowOverlap = true;
|
||||
signature.VerticalPosition = signature.VerticalPosition - 50;
|
||||
signature.VerticalPosition = signature.VerticalPosition - 55;
|
||||
|
||||
//signature.HorizontalPosition = signature.HorizontalPosition + 200;
|
||||
|
||||
@@ -384,7 +384,7 @@ namespace DOCGEN.Klassen
|
||||
if (dv.TMBeginn.ToString().Contains("VornameNameRechts"))
|
||||
{
|
||||
string unterschrift = "";
|
||||
if (img_UL != "") { unterschrift = img_UL.ToString(); }
|
||||
if (img_UL != "") { unterschrift = img_UR.ToString(); }
|
||||
else
|
||||
{
|
||||
unterschrift = Newtonsoft.Json.JsonConvert.DeserializeObject<string>(get_unterschrift(docdata.Unterschrift_Rechts));
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -297,8 +297,8 @@ namespace DOCGEN
|
||||
//Dokument erstellen
|
||||
var streamword = new MemoryStream(Convert.FromBase64String(document));
|
||||
WordDocument wordDocument = new WordDocument(streamword, Syncfusion.DocIO.FormatType.Automatic);
|
||||
|
||||
|
||||
|
||||
|
||||
// Keine Parameter / Dokument als PDF konvertieren
|
||||
if (pdfparameters == null)
|
||||
@@ -308,9 +308,19 @@ namespace DOCGEN
|
||||
converter.Settings.EmbedFonts = true;
|
||||
if (useseettings)
|
||||
{
|
||||
converter.Settings.UpdateDocumentFields = true;
|
||||
converter.Settings.UpdateDocumentFields = false;
|
||||
converter.Settings.EnableAlternateChunks = true;
|
||||
converter.Settings.AutoDetectComplexScript = true;
|
||||
converter.Settings.ImageResolution = 640;
|
||||
converter.Settings.ImageQuality = 100;
|
||||
}
|
||||
else
|
||||
{
|
||||
converter.Settings.UpdateDocumentFields = false;
|
||||
converter.Settings.EnableAlternateChunks = true;
|
||||
converter.Settings.AutoDetectComplexScript = true;
|
||||
converter.Settings.ImageResolution = 96;
|
||||
converter.Settings.ImageQuality = 1;
|
||||
}
|
||||
//Converts Word document into PDF document
|
||||
using (PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument))
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -18,6 +18,7 @@ using NLog.LayoutRenderers;
|
||||
using Helper;
|
||||
using System.Transactions;
|
||||
using System.Net.NetworkInformation;
|
||||
using System.Linq.Expressions;
|
||||
|
||||
|
||||
|
||||
@@ -2122,6 +2123,9 @@ namespace Database
|
||||
int approved = 0;
|
||||
int approved1 = 0;
|
||||
int approved2 = 0;
|
||||
int signiert = 0;
|
||||
int faksimile = 0;
|
||||
|
||||
if (Convert.ToBoolean(dsdaten.Tables[0].Rows[0]["Unterschrift_Pruefung"]) == true)
|
||||
{
|
||||
toapprove = 1;
|
||||
@@ -2131,9 +2135,14 @@ namespace Database
|
||||
int unterschriftlinks = Convert.ToInt32(dsdaten.Tables[0].Rows[0]["Unterschrift_links"]);
|
||||
int unterschriftrechts = Convert.ToInt32(dsdaten.Tables[0].Rows[0]["Unterschrift_rechts"]);
|
||||
int bearbeitung_zwingend = Convert.ToInt32(dsdaten.Tables[0].Rows[0]["bearbeitung_zwingend"]);
|
||||
if (unterschriftlinks == 1 && unterschriftrechts == 0 && approved1 == 1) { approved = 1; }
|
||||
|
||||
Exec_SQL("Update dokument set bearbeitung_zwingend = " + bearbeitung_zwingend.ToString() + ", toapprove=" + toapprove.ToString() + ", approved=" + approved.ToString() + ", approval1=" + approved1.ToString() + ", approval2=" + approved2.ToString() + " where dokumentid = '" + newdokumentid + "'");
|
||||
//if (unterschriftlinks == 1 && unterschriftrechts == 0 && approved1 == 1) { approved = 1; }
|
||||
Get_Tabledata("Select faksimile from dokument where dokumentid=" + dokumentid, false, true);
|
||||
try
|
||||
{
|
||||
faksimile = Convert.ToInt32(dsdaten.Tables[0].Rows[0][0]);
|
||||
} catch { faksimile = 0; }
|
||||
bearbeitung_zwingend = 1;
|
||||
Exec_SQL("Update dokument set bearbeitung_zwingend = " + bearbeitung_zwingend.ToString() + ", toapprove=" + toapprove.ToString() + ", approved=" + approved.ToString() + ", approval1=" + approved1.ToString() + ", approval2=" + approved2.ToString() + ", signiert="+signiert.ToString()+", faksimile="+faksimile.ToString()+" where dokumentid = '" + newdokumentid + "'");
|
||||
|
||||
return newdokumentid;
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1560,7 +1560,9 @@ namespace OnDocOffice
|
||||
Start_Application();
|
||||
//word.Visible = true;
|
||||
word.Documents.Open(filename);
|
||||
word.Visible = true;
|
||||
|
||||
|
||||
string path_unterschriftlinks = "";
|
||||
string path_unterschriftrechts = "";
|
||||
if ( unterschriftlinks != "-1")
|
||||
@@ -1601,11 +1603,20 @@ namespace OnDocOffice
|
||||
|
||||
public class word_signature
|
||||
{
|
||||
bool is_protected = false;
|
||||
Microsoft.Office.Interop.Word.Document docWord;
|
||||
public bool sign_doc(ref Microsoft.Office.Interop.Word.Application word, string imagepath_ul, string imagepath_ur, string dokumentid)
|
||||
{
|
||||
Logging.Logging.Debug("Sign_Doc", "OnDoc", dokumentid);
|
||||
docWord = word.ActiveDocument;
|
||||
Thread.Sleep(1000);
|
||||
if (word.ActiveDocument.ProtectionType != Microsoft.Office.Interop.Word.WdProtectionType.wdNoProtection)
|
||||
{
|
||||
word.ActiveDocument.Unprotect(Password: "Australia");
|
||||
is_protected = true;
|
||||
}
|
||||
|
||||
|
||||
try
|
||||
{
|
||||
foreach (Microsoft.Office.Interop.Word.Bookmark bm in docWord.Bookmarks)
|
||||
@@ -1621,6 +1632,16 @@ namespace OnDocOffice
|
||||
|
||||
}
|
||||
//docword = docWord; ;
|
||||
if (is_protected)
|
||||
{
|
||||
try
|
||||
{
|
||||
word.ActiveDocument.Protect(Type: Microsoft.Office.Interop.Word.WdProtectionType.wdAllowOnlyFormFields, NoReset: true, Password: "Australia");
|
||||
}
|
||||
catch { }
|
||||
}
|
||||
Thread.Sleep(1000);
|
||||
|
||||
Logging.Logging.Debug("Ende Sign_Doc", "OnDoc", dokumentid);
|
||||
return true;
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -35,7 +35,7 @@ Public Class vbarcodes
|
||||
|
||||
Me.connectionstring = connectionstring
|
||||
Logging.Logging.Debug("Delete Textfelder", "vbBarcodes", docdata.Dokumentid)
|
||||
'delete_Textfelder()
|
||||
delete_Textfelder()
|
||||
Logging.Logging.Debug("Insert Textfelder", "vbBarcodes", docdata.Dokumentid)
|
||||
Insert_TextFelder()
|
||||
Logging.Logging.Debug("Ins Barcode", "vbBarcodes", docdata.Dokumentid)
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user