update 20250219
This commit is contained in:
@@ -23,6 +23,7 @@ using DOCGEN;
|
||||
using System.Globalization;
|
||||
using System.Threading;
|
||||
using Syncfusion.Windows.Forms;
|
||||
using Syncfusion.Grouping;
|
||||
|
||||
namespace OnDoc.DocMgmt
|
||||
{
|
||||
@@ -142,7 +143,7 @@ namespace OnDoc.DocMgmt
|
||||
|
||||
}
|
||||
public void Dokument_Erstellen(string dokumentid, bool editdoc)
|
||||
{
|
||||
{
|
||||
this.filename = "";
|
||||
if (ucAllgemeineDokumentParam1.check_fields()==false) {
|
||||
MessageBox.Show(ucAllgemeineDokumentParam1.check_error,"Feldwerte",MessageBoxButtons.OK,MessageBoxIcon.Error);
|
||||
@@ -216,17 +217,21 @@ namespace OnDoc.DocMgmt
|
||||
DB db = new DB(AppParams.connectionstring);
|
||||
db.Save_To_DB(dokdata.Dokumentid, filename);
|
||||
db = null;
|
||||
Logging.Logging.Debug("Dokumentbearbtung Saved", "OnDocClient", "");
|
||||
Logging.Logging.Debug("Dokumentbearbeitung Saved", "OnDocClient", "");
|
||||
System.IO.File.Delete(filename);
|
||||
Logging.Logging.Debug("Dokumentbearbtung Deleted", "OnDocClient", "");
|
||||
Logging.Logging.Debug("Dokumentbearbeitung Deleted", "OnDocClient", "");
|
||||
|
||||
filename = AppParams.tempdir + dokumentid +"." + dok.extension;
|
||||
|
||||
this.filename = filename;
|
||||
DocFunction = 6;
|
||||
this.Close();
|
||||
return;
|
||||
}
|
||||
//Bearbeiten
|
||||
|
||||
|
||||
|
||||
if (ucAllgemeineDokumentParam1.docgendata.erstellungsart == Erstellungsart.DokumentBearbeiten)
|
||||
{
|
||||
Logging.Logging.Debug("Dokumentbearbeitung Erstellungsart.DokumentBearbeiten", "OnDocClient", "");
|
||||
|
||||
Reference in New Issue
Block a user