update 20250113

This commit is contained in:
Stefan Hutter
2025-01-13 21:00:23 +01:00
parent 1e3c169d49
commit 3e36dd541b
107 changed files with 366 additions and 79 deletions

View File

@@ -23,6 +23,7 @@ using System.Web.UI.WebControls;
using Windows.UI;
using edoka_dms;
using Syncfusion.Windows.Forms.Tools.XPMenus;
using Windows.Graphics.Printing3D;
namespace OnDoc.UIControls
@@ -128,10 +129,23 @@ namespace OnDoc.UIControls
this.cbboxunterschriftlinks.Enabled = Convert.ToBoolean(dr["unterschrift_links"]) == true;
this.cbboxunterschriftrechts.Enabled = Convert.ToBoolean(dr["unterschrift_rechts"]) == true;
this.cbformularohneunterschrfit.Enabled = Convert.ToBoolean(dr["unterschrift_ohne"]) == true;
this.cbfaksimile.Enabled = Convert.ToBoolean(dr["unterschrift_faksimile"]) == true;
if (this.cbfaksimile.Enabled == true) { this.cbfaksimile.Checked=true; }
this.cbformularohneunterschrfit.Checked = false;
if (cbformularohneunterschrfit.Enabled)
{
lblUnterschriftlinks.Visible = false;
lblUnterschriftrechts.Visible = false;
cbboxunterschriftlinks.Visible = false;
cbboxunterschriftrechts.Visible = false;
cbfaksimile.Visible = false;
lblohneUnterschrift.Visible = true;
}
if (this.cbfaksimile.Enabled==false) { cbfaksimile.Visible=false; }
try {
if (Convert.ToBoolean(dr["ErstellungInOffice"]) == true){
this.ErstellungInOffice = true;
@@ -587,6 +601,13 @@ namespace OnDoc.UIControls
{
dokdata.PartnerNr = docgendata.partnernr;
dokdata.UseEDOKA_Values = "True";
try
{
dokdata.postzustellung = cbboxpostzustellung.SelectedValue.ToString();
} catch { dokdata.postzustellung = "0"; }
dokdata.DokumenttypNr = docgendata.dokumenttypnr;
dokdata.Unterschrift_Links = docgendata.unterschriftLinks;
dokdata.Unterschrift_Rechts = docgendata.unterschriftRehts;
@@ -601,6 +622,8 @@ namespace OnDoc.UIControls
if (docgendata.erstellungsart == Erstellungsart.DokumentAlsPDF) { dokdata.Result_as_PDF = "True"; } else { dokdata.Result_as_PDF = "False"; }
if (docgendata.digitaleunterschrift == true) { dokdata.As_Faksimile = "True"; } else { dokdata.As_Faksimile = "False"; }
if (docgendata.frormularOhneUnterschrift==true) { dokdata.Form_ohne_Unterschrift = "True" ; } else { dokdata.Form_ohne_Unterschrift = "False"; }
dokdata.dokumentwerte = docgendata.dokumentwerte;
dokdata.Barcode = barcode;
dokdata.VorlageNr = this.vorlagenr.ToString();