update 20250111
This commit is contained in:
@@ -129,7 +129,7 @@ namespace OnDoc.UIControls
|
||||
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;
|
||||
this.cbfaksimile.Checked = false;
|
||||
if (this.cbfaksimile.Enabled == true) { this.cbfaksimile.Checked=true; }
|
||||
this.cbformularohneunterschrfit.Checked = false;
|
||||
|
||||
try {
|
||||
@@ -219,10 +219,14 @@ namespace OnDoc.UIControls
|
||||
db.Get_Tabledata(sql, false, true);
|
||||
if (db.dsdaten.Tables[0].Rows.Count > 0)
|
||||
{
|
||||
string logdata1 = barcode_left.ToString() + "/" + barcode_top.ToString() + "/" + barcode_width.ToString() + "/" + barcode_height.ToString();
|
||||
this.barcode_left = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bcpl"]);
|
||||
this.barcode_top = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bcpt"]);
|
||||
this.barcode_width = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bcw"]);
|
||||
this.barcode_height = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0]["bch"]);
|
||||
string logdata2 = barcode_left.ToString() + "/" + barcode_top.ToString() + "/" + barcode_width.ToString() + "/" + barcode_height.ToString();
|
||||
Logging.Logging.Debug("Barcode-Resize: " + logdata1 + " - " + logdata2, "ondoc", "");
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -509,7 +513,32 @@ namespace OnDoc.UIControls
|
||||
check_error = check_error + "- " + bezeichnung + " Feldwert ist zwingend" ; }
|
||||
}
|
||||
}
|
||||
if (cbfaksimile.Checked)
|
||||
{
|
||||
int ul = 0;
|
||||
int ur = 0;
|
||||
try
|
||||
{
|
||||
ul = Convert.ToInt32(cbboxunterschriftlinks.SelectedValue);
|
||||
}
|
||||
catch { }
|
||||
try
|
||||
{
|
||||
ur = Convert.ToInt32(cbboxunterschriftrechts.SelectedValue);
|
||||
}
|
||||
catch { }
|
||||
if (ul==0 || ur == 0)
|
||||
{
|
||||
if (check_error != "") { check_error = check_error + Environment.NewLine + Environment.NewLine; }
|
||||
check_error = check_error + "- " + "Bitte Unterschrift links und rechts auswählen";
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
if (check_error == "") { return true; } else { return false; }
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
public void Update_DocGenData()
|
||||
|
||||
Reference in New Issue
Block a user