update 20250727

This commit is contained in:
Stefan Hutter
2025-07-27 13:24:50 +02:00
parent cb8acfea57
commit 2237be483d
192 changed files with 23435 additions and 107 deletions

View File

@@ -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;
}