RadioButton Select lässt nur bei angewähltem FreigabeButton oder wenn kein Button angewäht ist freigegeben.
This commit is contained in:
@@ -69,7 +69,6 @@
|
||||
<div class="col-12" style="text-align:end">
|
||||
|
||||
<asp:LinkButton ID="btn_resetForm" runat="server" onclick="btn_resetForm_Click" style="margin-right:2px">Filter zurücksetzen</asp:LinkButton>
|
||||
|
||||
</div>
|
||||
|
||||
<div style="height:0.936768149882904vh"></div>
|
||||
@@ -78,28 +77,25 @@
|
||||
</div>
|
||||
<div class="col-8" style="margin-left:8px" >
|
||||
<asp:RadioButtonList id="RadioButtonList1" runat="server" RepeatDirection="Horizontal" style="border-color:#fff">
|
||||
<asp:ListItem ID="rbt_Erf" GroupName="radio" style="font-size:/*17px*/1.063em"> Erfasst</asp:ListItem>
|
||||
<asp:ListItem ID="rbt_Vorb" GroupName="radio" style="font-size:/*17px*/1.063em">Vorbereitet</asp:ListItem>
|
||||
<asp:ListItem ID="rbt_Vorg" GroupName="radio" style="font-size:/*17px*/1.063em"> Vorgeschrieben</asp:ListItem>
|
||||
<asp:ListItem ID="rbt_Ankunft" GroupName="radio" style="font-size:/*17px*/1.063em">Ankunft</asp:ListItem>
|
||||
<asp:ListItem ID="rbt_Freig" onclick="optionensichtbarkeit()" data-bs-toggle="tooltip" data-bs-placement="top" title="Wenn dieser Filter angewählt ist, bitte das Datum eingrenzen." style="font-size:/*17px*/1.063em"> Freigabe</asp:ListItem>
|
||||
<asp:ListItem ID="rbt_Erf" GroupName="radios" style="font-size:/*17px*/1.063em"> Erfasst</asp:ListItem>
|
||||
<asp:ListItem ID="rbt_Vorb" GroupName="radios" style="font-size:/*17px*/1.063em">Vorbereitet</asp:ListItem>
|
||||
<asp:ListItem ID="rbt_Vorg" GroupName="radios" style="font-size:/*17px*/1.063em"> Vorgeschrieben</asp:ListItem>
|
||||
<asp:ListItem ID="rbt_Ankunft" GroupName="radios" style="font-size:/*17px*/1.063em">Ankunft</asp:ListItem>
|
||||
<asp:ListItem ID="rbt_Freig" GroupName="radios" data-bs-toggle="tooltip" data-bs-placement="top" title="Wenn dieser Filter angewählt ist, bitte das Datum eingrenzen." style="font-size:/*17px*/1.063em">Freigabe</asp:ListItem>
|
||||
</asp:RadioButtonList>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="height:0.936768149882904vh"></div>
|
||||
<div class="col-12" id="cont4">
|
||||
<div class="col-12">
|
||||
<div class="container2" style="margin-left:2px">
|
||||
<div class="align-content-start">
|
||||
<div class="col-12" id="container2" style="margin-left:2px">
|
||||
<asp:Label ID="lbl_von" runat="server" Text="Von:"></asp:Label>
|
||||
<asp:TextBox id="pickdate1" Type="Date" runat="server"></asp:TextBox>
|
||||
|
||||
<asp:Label ID="lbl_bis" runat="server" Text="Bis:"></asp:Label>
|
||||
<asp:TextBox id="pickdate2" Type="Date" runat="server"></asp:TextBox>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="height:/*12px*/0.936768149882904vh"></div>
|
||||
<hr>
|
||||
<div id="accordion">
|
||||
@@ -134,7 +130,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@@ -189,15 +185,7 @@
|
||||
</div>
|
||||
</div>--%>
|
||||
|
||||
<script type="text/javascript">
|
||||
function optionensichtbarkeit() {
|
||||
if (rbt_Freig.checked) {
|
||||
document.getElementById("container2").style.display = "inline";
|
||||
} else {
|
||||
document.getElementById("container2").style.display= "hidden";
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<script>
|
||||
$('#accordion').on('shown.bs.collapse', function (e) {
|
||||
$(e.target).data('bs.collapse').$trigger.attr('src', 'https://s22.postimg.org/hkrauaofx/Mathematic_Minus2.png');
|
||||
@@ -208,5 +196,28 @@
|
||||
});
|
||||
</script>
|
||||
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
|
||||
<script type='text/javascript'>
|
||||
$(document).ready(function () {
|
||||
$("#container2").hide();
|
||||
|
||||
let htmlNodes = document.getElementsByName('status');
|
||||
let radioButtonsArray = Array.from(htmlNodes);
|
||||
let isAnyRadioButtonChecked = radioButtonsArray.some(element => element.checked);
|
||||
if (isAnyRadioButtonChecked == false){
|
||||
$("#container2").show();
|
||||
} else {
|
||||
$("#container2").hide();
|
||||
}
|
||||
|
||||
|
||||
|
||||
$('#<%=RadioButtonList1.ClientID %> input[type="radio"]').change(function () {
|
||||
if ($(this).val() == "Freigabe") {
|
||||
$("#container2").show();
|
||||
} else {
|
||||
$("#container2").hide();
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</asp:Content>
|
||||
@@ -42,14 +42,19 @@ Partial Class Kundenbereich_Default
|
||||
'MsgBox(Session.Item("CustomerID").ToString)
|
||||
'MsgBox(Session.Item("PW").ToString)
|
||||
Kdnrtext = Session.Item("CustomerID").ToString
|
||||
|
||||
dt = Nothing
|
||||
If txt_Absender.Text IsNot "" Then
|
||||
txt_Absender.ValidateRequestMode = UI.ValidateRequestMode.Enabled
|
||||
Absender = txt_Absender.Text
|
||||
ElseIf txt_Empfaenger.Text IsNot "" Then
|
||||
txt_Empfaenger.ValidateRequestMode = UI.ValidateRequestMode.Enabled
|
||||
Empfaenger = txt_Empfaenger.Text
|
||||
ElseIf txt_KdNrAuftrag.Text IsNot "" Then
|
||||
txt_KdNrAuftrag.ValidateRequestMode = UI.ValidateRequestMode.Enabled
|
||||
KDNAFNR = txt_KdNrAuftrag.Text
|
||||
ElseIf txt_LKWNr.Text IsNot "" Then
|
||||
txt_LKWNr.ValidateRequestMode = UI.ValidateRequestMode.Enabled
|
||||
LKWNR = txt_LKWNr.Text
|
||||
End If
|
||||
|
||||
@@ -60,7 +65,9 @@ Partial Class Kundenbereich_Default
|
||||
If pickdate1.Text = Not "TT.MM.JJJJ" And pickdate2.Text = Not "TT.MM.JJJJ" Then
|
||||
If Date.Parse(pickdate2.Text) > Date.Parse(pickdate1.Text) Then
|
||||
Try
|
||||
pickdate1.ValidateRequestMode = UI.ValidateRequestMode.Enabled
|
||||
datevon = Date.Parse(pickdate1.Text)
|
||||
pickdate2.ValidateRequestMode = UI.ValidateRequestMode.Enabled
|
||||
datebis = Date.Parse(pickdate2.Text)
|
||||
Catch ex As Exception
|
||||
MsgBox(ex.StackTrace, MsgBoxStyle.Exclamation)
|
||||
@@ -79,7 +86,7 @@ Partial Class Kundenbereich_Default
|
||||
ElseIf rbt_Erf.Selected = False And rbt_Freig.Selected = False And rbt_Ankunft.Selected = False And rbt_Vorb.Selected = False And rbt_Vorg.Selected = False Then
|
||||
If pickdate1.Text = "TT.MM.JJJJ" And pickdate2.Text = "TT.MM.JJJJ" Then
|
||||
MsgBox("Bitte ein Datum auswählen!", MsgBoxStyle.Information, "Information!")
|
||||
|
||||
ElseIf pickdate1.Text = Not "TT.MM.JJJJ" And pickdate2.Text = Not "TT.MM.JJJJ" Then
|
||||
pickdate1.Text = Date.ParseExact("01" + "-" + Date.Now.Month.ToString + "-" + Date.Now.Year.ToString, "dd-MM-yyyy", Nothing).ToString
|
||||
pickdate2.Text = Date.ParseExact(Date.Now.Day.ToString + "-" + Date.Now.Month.ToString + "-" + Date.Now.Year.ToString, "dd-MM-yyyy", Nothing).ToString
|
||||
datevon = Date.ParseExact(pickdate1.Text, "dd-MM-yyyy", Nothing)
|
||||
@@ -182,16 +189,6 @@ Partial Class Kundenbereich_Default
|
||||
tbl_CellKundAuftNr.Text = d("KdAuftragsNr_Avisierer").ToString
|
||||
tr.Cells.Add(tbl_CellKundAuftNr)
|
||||
|
||||
|
||||
Dim btn2 As New ImageButton
|
||||
btn2.ViewStateMode = ViewStateMode.Disabled
|
||||
btn2.ImageUrl = "../images/Icons/service/hilfe_small.png"
|
||||
'btn2.CssClass = "btn btn-primary"
|
||||
|
||||
btn2.Attributes.Add("href", "../status_Julius.aspx?AvisoId=" + VERAG_PROG_ALLGEMEIN.cCryptography3.Encrypt(d("AvisoID")).ToString)
|
||||
btn2.Attributes.Add("target", "_blank")
|
||||
btn2.PostBackUrl = "../status_Julius.aspx?AvisoId=" + VERAG_PROG_ALLGEMEIN.cCryptography3.Encrypt(d("AvisoID")).ToString
|
||||
|
||||
Dim btn As New LinkButton
|
||||
btn.ViewStateMode = ViewStateMode.Disabled
|
||||
'btn.Text = "Text"
|
||||
@@ -201,7 +198,8 @@ Partial Class Kundenbereich_Default
|
||||
btn.Attributes.Add("target", "_blank")
|
||||
btn.PostBackUrl = "../status_Julius.aspx?AvisoId=" + VERAG_PROG_ALLGEMEIN.cCryptography3.Encrypt(d("AvisoID")).ToString
|
||||
|
||||
tbl_CellInfo.Controls.Add(btn2)
|
||||
tbl_CellInfo.Controls.Add(btn)
|
||||
tbl_CellInfo.ValidateRequestMode = UI.ValidateRequestMode.Enabled
|
||||
tr.Cells.Add(tbl_CellInfo)
|
||||
|
||||
If rbt_Ankunft.Selected = True AndAlso tbl_CellStatus.Text = "Ankunft" Then
|
||||
@@ -218,8 +216,6 @@ Partial Class Kundenbereich_Default
|
||||
normaltable.Rows.Add(tr)
|
||||
End If
|
||||
|
||||
|
||||
|
||||
i += 1
|
||||
Next
|
||||
End If
|
||||
|
||||
@@ -67,13 +67,11 @@ hr{
|
||||
box-shadow: inset 0 -1px 0 rgba(4, 51, 129,.125);
|
||||
border:none;
|
||||
}
|
||||
|
||||
.accordion-button:not(.collapsed)::after {
|
||||
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
|
||||
border: none;
|
||||
transform: rotate(-180deg)
|
||||
}
|
||||
|
||||
.accordion-button:not(.collapsed)::after {
|
||||
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230c63e4'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
|
||||
border: none;
|
||||
transform: rotate(-180deg)
|
||||
}
|
||||
.accordion-button::after {
|
||||
flex-shrink: 0;
|
||||
width: 1.25rem;
|
||||
@@ -90,11 +88,9 @@ hr{
|
||||
transition: none
|
||||
}
|
||||
}
|
||||
|
||||
.accordion-button:hover {
|
||||
z-index: 2
|
||||
}
|
||||
|
||||
.accordion-button:focus {
|
||||
z-index: 3;
|
||||
border-color: #043381;
|
||||
@@ -112,70 +108,56 @@ hr{
|
||||
color: #043381;
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
#tableSearch {
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
#txt_Absender {
|
||||
width: 250px;
|
||||
padding-right: -2px;
|
||||
padding-left: 60px;
|
||||
}
|
||||
|
||||
#txt_Empfaenger {
|
||||
width: 250px;
|
||||
padding-right: -2px;
|
||||
padding-left: 60px;
|
||||
}
|
||||
|
||||
#txt_LKWNr {
|
||||
width: 250px;
|
||||
padding-right: -2px;
|
||||
padding-left: 60px;
|
||||
}
|
||||
|
||||
#txt_KdNrAuftrag {
|
||||
width: 250px;
|
||||
padding-right: -2px;
|
||||
padding-left: 60px;
|
||||
}
|
||||
|
||||
.container-fluid {
|
||||
width: 700px;
|
||||
}
|
||||
|
||||
#cont1 {
|
||||
width: 700px;
|
||||
}
|
||||
|
||||
#containerseiterand {
|
||||
min-width: 700px;
|
||||
}
|
||||
|
||||
.flex-fill {
|
||||
width: 700px;
|
||||
}
|
||||
|
||||
#cont3 {
|
||||
width: 700px;
|
||||
}
|
||||
|
||||
#cont4 {
|
||||
min-width: 750px;
|
||||
}
|
||||
|
||||
tbody {
|
||||
font-size: 3.303964757709251vw;
|
||||
height: auto;
|
||||
flex-wrap: wrap;
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
#normaltable {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#conovertab {
|
||||
/* max-width:width:150px 11.25em;*/
|
||||
margin-left: /*14px*/ 3.0837004405286343vw;
|
||||
|
||||
@@ -430,6 +430,7 @@
|
||||
txtCluster = "<i>" & s.tblSnd_FremdspeditionText & "</i>"
|
||||
trBg = " class=""fremdspedition"""
|
||||
Else
|
||||
VERAG_PROG_ALLGEMEIN.cAllgemein.LOAD_FILIALEN()
|
||||
If s.FilialenNr > 0 Then txtCluster = VERAG_PROG_ALLGEMEIN.cAllgemein.getFirmaFromFiliale2(s.FilialenNr, False)
|
||||
If txtCluster <> "" Then
|
||||
txtCluster = "<b>" & txtCluster & "</b><br/>"
|
||||
|
||||
Reference in New Issue
Block a user