update 0250704

This commit is contained in:
Stefan Hutter
2025-07-04 21:40:19 +02:00
parent 6763534b8c
commit 68e4725ff5
71 changed files with 483 additions and 93 deletions

View File

@@ -666,7 +666,7 @@ namespace OnDoc.UIControls
{
OnDoc.DocMgmt.DokTypSelect DokTypSelect = new OnDoc.DocMgmt.DokTypSelect(false);
DokTypSelect.vorlagentype = 1;
DokTypSelect.vorlagentype = 4;
DokTypSelect.ShowDialog(this);
if (DokTypSelect.DialogResult == DialogResult.OK)
{
@@ -1151,7 +1151,13 @@ namespace OnDoc.UIControls
sb.barcode_zusatz = "";
db.Get_Tabledata("Select bezeichnung,office_vorlagenr, isnull(vertrag,0) as vertrag, isnull(physisches_archiv,0) as archiv from dokumenttyp where dokumenttypnr=" + sb.dokumenttypnr.ToString(), false, true);
sb.bezeichnung = db.dsdaten.Tables[0].Rows[0][0].ToString();
try
{
if (sb.bezeichnung == "") { sb.bezeichnung = db.dsdaten.Tables[0].Rows[0][0].ToString(); }
}
catch { }
//sb.bezeichnung = db.dsdaten.Tables[0].Rows[0][0].ToString();
sb.officevorlagenr = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0][1]);
sb.vertrag = Convert.ToInt32(db.dsdaten.Tables[0].Rows[0][2]);