update 20241202

This commit is contained in:
Stefan Hutter
2024-12-02 18:54:27 +01:00
parent fcc74b25cb
commit f36b514063
129 changed files with 1043 additions and 511 deletions

View File

@@ -734,11 +734,11 @@ namespace OnDoc.UICintrols
if (dataRow[0].ToString().Substring(0, 1).ToUpper() == "D")
{
//word
if (dataRow[11].ToString() != "1")
if (dataRow[11].ToString() != "True")
{
if (Convert.ToBoolean(dataRow[16]) == true)
if (Convert.ToBoolean(dataRow[17]) == true)
{
if (Convert.ToBoolean(dataRow[17]) == true)
if (Convert.ToBoolean(dataRow[18]) == true)
{
e.Graphics.DrawImage(OnDoc.Properties.Resources.Word_approved_24x24_32, e.Bounds.X + 20, e.Bounds.Y);
}
@@ -760,7 +760,7 @@ namespace OnDoc.UICintrols
}
if (dataRow[0].ToString().Substring(0, 1).ToUpper() == "X")
{
if (dataRow[11].ToString() != "1")
if (dataRow[11].ToString() != "True")
if (Convert.ToBoolean(dataRow[16]) == true)
{
if (Convert.ToBoolean(dataRow[17]) == true)
@@ -883,7 +883,7 @@ namespace OnDoc.UICintrols
string URL = AppParams.RESTURI + "api/ArchiveDocFromDatabase?dokumentid=" + documentid;
HttpWebRequest webRequest = HttpWebRequest.Create(URL) as HttpWebRequest;
webRequest.Method = WebRequestMethods.Http.Get;
webRequest.Method = WebRequestMethods.Http.Post;
webRequest.Headers["Authorization"] = "Bearer " + AppParams.apikey;
try
{
@@ -1342,6 +1342,12 @@ namespace OnDoc.UICintrols
{
RibbonButtonArchivToOnBase_Click(sender, e);
}
private void ribbonButtonNativVorlagen_Click(object sender, EventArgs e)
{
NativVorlagen nv = new NativVorlagen();
nv.Show();
}
}
}