update 20250202
This commit is contained in:
@@ -67,6 +67,7 @@ namespace OnDoc.UIControls
|
||||
public bool Erstellung_in_Office = false;
|
||||
public bool FillOffice = false;
|
||||
public string CompatibilityMode = "";
|
||||
public bool signiert = false;
|
||||
|
||||
public string dokumentid { get; set; } = "";
|
||||
|
||||
@@ -598,7 +599,7 @@ namespace OnDoc.UIControls
|
||||
}
|
||||
public void Update_DocGenData()
|
||||
{
|
||||
|
||||
|
||||
docgendata.partnernr = this.partnernr.ToString();
|
||||
docgendata.inhaberadresse = this.txtPartnerInhaber.Text;
|
||||
docgendata.zustelladresse = this.txtPartnerZusteller.Text;
|
||||
@@ -646,13 +647,14 @@ namespace OnDoc.UIControls
|
||||
|
||||
public void update_dokdata(ref clsDocData dokdata)
|
||||
{
|
||||
if (this.signiert == true) { dokdata.remove_signature = true; }
|
||||
dokdata.PartnerNr = docgendata.partnernr;
|
||||
dokdata.UseEDOKA_Values = "True";
|
||||
try
|
||||
{
|
||||
dokdata.postzustellung = cbboxpostzustellung.SelectedValue.ToString();
|
||||
} catch { dokdata.postzustellung = "0"; }
|
||||
|
||||
|
||||
|
||||
|
||||
dokdata.DokumenttypNr = docgendata.dokumenttypnr;
|
||||
@@ -743,6 +745,8 @@ namespace OnDoc.UIControls
|
||||
if (dokdata.approval1 == 1 && dokdata.approval2 == 1 )
|
||||
{
|
||||
dokdata.approved = 1;
|
||||
dokdata.signiert = false;
|
||||
dokdata.sign = true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1041,6 +1045,8 @@ namespace OnDoc.UIControls
|
||||
this.cbboxpostzustellung.SelectedValue = Convert.ToInt32(dr["postzustellung"]);
|
||||
this.DateDokumentDatum.Value = Convert.ToDateTime(dr["erstellungsdatum"]);
|
||||
this.DateTerminText.Text = Convert.ToDateTime(dr["termin"]).ToString();
|
||||
this.signiert = Convert.ToBoolean(dr["signiert"]) == true;
|
||||
|
||||
if (dr["zustelladresse"].ToString() != "") this.txtPartnerZusteller.Text = dr["zustelladresse"].ToString();
|
||||
|
||||
Get_DokWertList(ref db, dokumentid, 0);
|
||||
|
||||
Reference in New Issue
Block a user