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

@@ -370,6 +370,12 @@ namespace Database
dok.bUnvollstaendig = false;
dok.iBck = 0;
dok.iColdstatus = 0;
dok.iPostzustellung = 0;
try
{
dok.iPostzustellung = Convert.ToInt32(DocData.postzustellung);
}
catch { }
if (DocData.Unterschrift_Links == "") { DocData.Unterschrift_Links = "0"; }
if (DocData.Unterschrift_Rechts == "") { DocData.Unterschrift_Rechts = "0"; }
dok.iUnterschriftlinks = Convert.ToInt32(DocData.Unterschrift_Links);
@@ -384,7 +390,7 @@ namespace Database
dok.sZustelladresse = "";
dok.sAnredezustelladresse = "";
dok.iZustaendiger = Convert.ToInt32(DocData.Zustaendig);
dok.iPostzustellung = 0;
//dok.iPostzustellung = 0;
dok.bZustaendig_kube = false;
dok.iMa_ausgangsarchivierung = 0;
dok.iMa_eingangsarchivierung = 0;
@@ -496,7 +502,7 @@ namespace Database
int approved = 0;
int approved1 = 0;
int approved2 = 0;
if (Convert.ToBoolean(db.dsdaten.Tables[0].Rows[0]["Unterschrift_Pruefung"]) == true)
if (Convert.ToBoolean(db.dsdaten.Tables[0].Rows[0]["Unterschrift_Pruefung"]) == true || DocData.As_Faksimile=="True")
{
toapprove = 1;
if (dok.iUnterschriftlinks == dok.iErsteller) { approved1 = 1; }