update 20250727
This commit is contained in:
@@ -366,11 +366,19 @@ namespace OnDoc.DocMgmt
|
||||
{
|
||||
DocFunction = 2;
|
||||
this.Close();
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void button3_Click(object sender, EventArgs e)
|
||||
{
|
||||
DB db = new DB(AppParams.connectionstring);
|
||||
db.Exec_SQL("Update dokument set aktiv=0, mutiertam=getdate(), mutierer=" + AppParams.CurrentMitarbeiter.ToString() + " where dokumentid='" + dokumentid + "'");
|
||||
|
||||
db = null;
|
||||
Logging.DocLog.Info("Dokument gelöscht", "Doklist.Dokument_loeschen", dokumentid, "", "Dokument gelöscht");
|
||||
DocFunction = 3;
|
||||
dokumentid = "";
|
||||
|
||||
PnlPreview.Visible = false;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user