update 20250102

This commit is contained in:
Stefan Hutter
2025-01-02 19:18:08 +01:00
parent 53a008972e
commit 3b0a2b0527
287 changed files with 46014 additions and 27 deletions

View File

@@ -60,11 +60,16 @@ namespace OnDoc.UIControls
public int barcode_horizontal = 0;
public string barcode_type = "";
public string barcode_content = "";
public bool Erstellung_in_Office = false;
public bool FillOffice = false;
public string CompatibilityMode = "";
public UCAllgemeineDokumentParam()
{
InitializeComponent();
docgendata = new clsdocgendata();
}
public void Refresh_Details()
@@ -178,7 +183,9 @@ namespace OnDoc.UIControls
this.DateTerminText.Visible = false;
this.DateTermin.Value = new DateTime(1900, 01, 01);
}
this.Erstellung_in_Office = Convert.ToBoolean(db.dsdaten.Tables[0].Rows[0]["ErstellungInOffice"]);
this.FillOffice = Convert.ToBoolean(db.dsdaten.Tables[0].Rows[0]["FillOffice"]);
this.CompatibilityMode = db.dsdaten.Tables[0].Rows[0]["CompatibilityMode"].ToString();
db.Get_Tabledata("Select beschreibung from physischesarchiv where physischesarchivnr = " + dr["physisches_archiv"].ToString(), false, true);
barcode_zusatz = db.dsdaten.Tables[0].Rows[0][0].ToString();
@@ -200,6 +207,7 @@ namespace OnDoc.UIControls
this.barcode_horizontal = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bchorizontal"]);
this.barcode_type = db.dsdaten.Tables[0].Rows[0]["BarcodeType"].ToString();
this.barcode_content = db.dsdaten.Tables[0].Rows[0]["DatamatrixContent"].ToString();
if (this.ErstellungInOffice == false)
{
@@ -574,6 +582,10 @@ namespace OnDoc.UIControls
dokdata.barcode_textposition = AppParams.barcodetextposition;
dokdata.barcode_type = barcode_type;
dokdata.barcode_content = barcode_content;
dokdata.Erstellung_in_Office = this.Erstellung_in_Office;
dokdata.FillOffice = this.FillOffice;
dokdata.CompatibilityMode= this.CompatibilityMode;
if (DateTerminText.Text == "")
{
dokdata.Termin = "01.01.1900";
@@ -582,7 +594,7 @@ namespace OnDoc.UIControls
{
dokdata.Termin = DateTermin.Value.ToString();
}
dokdata.Bezeichnung = txtbezeichnung.ToString();
dokdata.Bezeichnung = txtbezeichnung.Text.ToString();
dokdata.zustelladresse = docgendata.zustelladresse;
dokdata.anrede = docgendata.anrede;