Änderungen

This commit is contained in:
ja
2021-11-22 08:51:42 +01:00
parent 9cd910b925
commit d90bb21896
2 changed files with 15 additions and 17 deletions

View File

@@ -59,9 +59,6 @@
<asp:ScriptManager ID="script1" runat="server"></asp:ScriptManager> <asp:ScriptManager ID="script1" runat="server"></asp:ScriptManager>
<asp:UpdatePanel ID="panelupdate1" runat="server"><ContentTemplate> <asp:UpdatePanel ID="panelupdate1" runat="server"><ContentTemplate>
<!-- Webiste-Content--> <!-- Webiste-Content-->
<div id="containerseiterand" style="margin-left:auto;margin-right:auto"> <div id="containerseiterand" style="margin-left:auto;margin-right:auto">
<div class="container-fluid"> <div class="container-fluid">
<div id="cont1"> <div id="cont1">
@@ -237,7 +234,7 @@
<asp:TableHeaderCell ID="tbl_HeaderCell_KundenAuftrNummer" runat="server" AbbreviatedText="Cust. Order Num">Customer Order Number</asp:TableHeaderCell> <asp:TableHeaderCell ID="tbl_HeaderCell_KundenAuftrNummer" runat="server" AbbreviatedText="Cust. Order Num">Customer Order Number</asp:TableHeaderCell>
<asp:TableHeaderCell ID="tbl_HeaderCell_Absender" runat="server" AbbreviatedText="Sender">Sender</asp:TableHeaderCell> <asp:TableHeaderCell ID="tbl_HeaderCell_Absender" runat="server" AbbreviatedText="Sender">Sender</asp:TableHeaderCell>
<asp:TableHeaderCell ID="tbl_HeaderCell_Empfaenger" runat="server" AbbreviatedText="Reciev">Reciever</asp:TableHeaderCell> <asp:TableHeaderCell ID="tbl_HeaderCell_Empfaenger" runat="server" AbbreviatedText="Reciev">Reciever</asp:TableHeaderCell>
<asp:TableHeaderCell ID="tbl_HeaderCell_Info" runat="server" AbbreviatedText="Info">Information</asp:TableHeaderCell> <asp:TableHeaderCell ID="tbl_HeaderCell_Info" runat="server" AbbreviatedText="Info" style="Width:75px">Information</asp:TableHeaderCell>
</asp:TableHeaderRow> </asp:TableHeaderRow>
</asp:Table> </asp:Table>
</div> </div>
@@ -246,7 +243,8 @@
End If End If
End If End If
Catch ex As Exception Catch ex As Exception
Response.Write(ex.Message & ex.StackTrace) 'Response.Write(ex.Message & ex.StackTrace)
Response.Write("Fehler bei den SQL-Einstellungen. Bitte den Admin kontaktieren.")
End Try %> End Try %>
</div> </div>
</div> </div>

View File

@@ -58,6 +58,7 @@ Partial Class Customers_Default3
datevon = Date.Parse(pickdate1.Text) datevon = Date.Parse(pickdate1.Text)
datebis = Date.Parse(pickdate2.Text) datebis = Date.Parse(pickdate2.Text)
End If End If
End If End If
Dim erster = New Date(Now().Year, Now().Month, 1) Dim erster = New Date(Now().Year, Now().Month, 1)
datevon = erster datevon = erster
@@ -126,14 +127,13 @@ Partial Class Customers_Default3
If String.IsNullOrEmpty(t8.Text) Then If String.IsNullOrEmpty(t8.Text) Then
t8.BackColor = white t8.BackColor = white
t8.Width = Unit.Percentage(100) t8.Width = Unit.Pixel(75)
t8.Height = Unit.Percentage(100) t8.Height = Unit.Pixel(90)
Else Else
t8.BackColor = white t8.BackColor = white
t8.ForeColor = veragblue t8.ForeColor = veragblue
End If End If
th1.Font.Bold = True th1.Font.Bold = True
th2.Font.Bold = True th2.Font.Bold = True
th3.Font.Bold = True th3.Font.Bold = True
@@ -158,7 +158,7 @@ Partial Class Customers_Default3
th6.ForeColor = white th6.ForeColor = white
th7.ForeColor = white th7.ForeColor = white
th8.ForeColor = white th8.ForeColor = white
th8.Width = Unit.Percentage(100) th8.Width = Unit.Pixel(75)
End Sub End Sub
Protected Sub btn_b_Click(sender As Object, e As EventArgs) Protected Sub btn_b_Click(sender As Object, e As EventArgs)
@@ -461,15 +461,15 @@ Partial Class Customers_Default3
btn.Style.Add("Display", "table-cell") btn.Style.Add("Display", "table-cell")
btn.Style.Add("Vertical-align", "middle") btn.Style.Add("Vertical-align", "middle")
btn.Style.Add("margin", "2px 2px 8px 4px") btn.Style.Add("margin", "2px 2px 8px 4px")
btn.ControlStyle.Width = Unit.Percentage(100) btn.Width = Unit.Pixel(73)
btn.Height = Unit.Percentage(100) btn.Height = Unit.Pixel(85)
'btn.Attributes.Add("href", "pdfviewer.aspx?P1=" + VERAG_PROG_ALLGEMEIN.cCryptography3.Encrypt(d.FilialenNr).ToString() + "&P2=" + VERAG_PROG_ALLGEMEIN.cCryptography3.Encrypt(d.AbfertigungsNr).ToString + "&P3=" + VERAG_PROG_ALLGEMEIN.cCryptography3.Encrypt(d.RK_ID).ToString) 'btn.Attributes.Add("href", "pdfviewer.aspx?P1=" + VERAG_PROG_ALLGEMEIN.cCryptography3.Encrypt(d.FilialenNr).ToString() + "&P2=" + VERAG_PROG_ALLGEMEIN.cCryptography3.Encrypt(d.AbfertigungsNr).ToString + "&P3=" + VERAG_PROG_ALLGEMEIN.cCryptography3.Encrypt(d.RK_ID).ToString)
btn.Attributes.Add("onclick", "window.open('../pdf/Bonizertifikat.pdf')") btn.Attributes.Add("onclick", "window.open('../pdf/Bonizertifikat.pdf')")
'btn.PostBackUrl = "pdfviewer.aspx?P1=" + VERAG_PROG_ALLGEMEIN.cCryptography3.Encrypt(d.FilialenNr).ToString + "&P2=" + VERAG_PROG_ALLGEMEIN.cCryptography3.Encrypt(d.AbfertigungsNr).ToString + "&P3=" + VERAG_PROG_ALLGEMEIN.cCryptography3.Encrypt(d.RK_ID).ToString 'btn.PostBackUrl = "pdfviewer.aspx?P1=" + VERAG_PROG_ALLGEMEIN.cCryptography3.Encrypt(d.FilialenNr).ToString + "&P2=" + VERAG_PROG_ALLGEMEIN.cCryptography3.Encrypt(d.AbfertigungsNr).ToString + "&P3=" + VERAG_PROG_ALLGEMEIN.cCryptography3.Encrypt(d.RK_ID).ToString
tbl_Cell_Info.ValidateRequestMode = UI.ValidateRequestMode.Enabled tbl_Cell_Info.ValidateRequestMode = UI.ValidateRequestMode.Enabled
tbl_Cell_Info.Width = Unit.Percentage(80) tbl_Cell_Info.Width = Unit.Pixel(80)
tbl_Cell_Info.Height = Unit.Percentage(100) tbl_Cell_Info.Height = Unit.Pixel(90)
tbl_Cell_Info.Controls.Add(btn) tbl_Cell_Info.Controls.Add(btn)
tr.Cells.Add(tbl_Cell_Info) tr.Cells.Add(tbl_Cell_Info)
initcells(tr, tbl_Cell_Index, tbl_Cell_ReNr, tbl_Cell_LKWs, tbl_Cell_Auftragsdat, tbl_Cell_KundAuftrNr, tbl_Cell_Absender, tbl_Cell_Empfaenger, tbl_Cell_Info, initcells(tr, tbl_Cell_Index, tbl_Cell_ReNr, tbl_Cell_LKWs, tbl_Cell_Auftragsdat, tbl_Cell_KundAuftrNr, tbl_Cell_Absender, tbl_Cell_Empfaenger, tbl_Cell_Info,
@@ -489,7 +489,7 @@ Partial Class Customers_Default3
tbl_cellNothing.Text = Server.HtmlEncode("No data found!") tbl_cellNothing.Text = Server.HtmlEncode("No data found!")
tr.Cells.Add(tbl_cellNothing) tr.Cells.Add(tbl_cellNothing)
normaltable.Rows.Add(tr) normaltable.Rows.Add(tr)
Session.Add("lastrecord", dt)
End If End If
Else Else
VERAG_VARIABLES.seterrorcount(16) VERAG_VARIABLES.seterrorcount(16)