updaet 20250226
This commit is contained in:
@@ -202,6 +202,7 @@ namespace OnDoc.UIControls
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
db.Exec_SQL("Update dokument set approval1=1 where dokumentid='" + dr["dokumentid"].ToString()+"'");
|
||||
|
||||
}
|
||||
@@ -212,6 +213,8 @@ namespace OnDoc.UIControls
|
||||
db.Get_Tabledata("Select * from dokument where dokumentid='" + dr["dokumentid"].ToString() + "'", false, true);
|
||||
if (db.dsdaten.Tables[0].Rows[0]["approved"].ToString()=="True")
|
||||
{
|
||||
panelsign.Visible = true;
|
||||
Application.DoEvents();
|
||||
Cursor = Cursors.WaitCursor;
|
||||
DOCGEN.DocGen dg = new DocGen(AppParams.connectionstring, AppParams.RESTURI, AppParams.apikey);
|
||||
if (dg.signdoc(dr["dokumentid"].ToString(), AppParams.tempdir))
|
||||
@@ -219,6 +222,8 @@ namespace OnDoc.UIControls
|
||||
db.Exec_SQL("Update Dokument set signiert=1, mutierer=" + AppParams.CurrentMitarbeiter.ToString() + ", mutiertam=getdate() where dokumentid='" + dr["dokumentid"].ToString() + "'");
|
||||
}
|
||||
dg = null;
|
||||
panelsign.Visible = false;
|
||||
Application.DoEvents();
|
||||
Cursor = Cursors.Default;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user