<%@ Page Title="XR inspection result" Language="C#" MasterPageFile="~/approve/Approve.Master" AutoEventWireup="true" CodeBehind="XR_inspection_result.aspx.cs" Inherits="CheckSheet.approve.XR_inspection_result" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
      <script type="text/javascript" src="XR_inspection_result.js?v=12"></script>

        <div id="frommain">
      
        <div id="g1" class="grouplist" style="padding-bottom:10px;">

               <div class="form-row">
                <div class="frmrow">
                    <span class="sp1">
                    <label>
                            <div id="sthd" class="dotstatus" style="background-color:#71C709;"></div><asp:Label ID="lblPageName" runat="server"  CssClass="frmheader"  Text="x-R Chart Inspection result"  width="250px"></asp:Label>
                   
                    </label>
                    </span>

                    
                </div>
             </div>
             <div class="form-row">
                <div class="frmrow">
                   
                   
                    <span class="sp3">
                    <label>
                  
                    <asp:Button ID="btnconfirm" CssClass="button" runat="server" Text="Confirm message" style="width:130px;color:white;padding:0.5em;" OnClientClick="javascript:confirmmessage();return false;"  />
                    </label>
                         <label>
                  
                    <asp:Button ID="btnapprove" CssClass="button" runat="server" Text="Approve/Reject" style="width:130px;color:white;padding:1em;" OnClientClick="javascript:approve();return false;"  />
                    </label>
                     <label>
                  
                    <asp:Button ID="btncsvdownload" CssClass="button" runat="server" Text="CSV Download" style="width:130px;color:white;padding:1em;" OnClientClick="javascript:linkcsv('rptXRCSV_filter');return false;"   />
                    </label>
                    </span>
                    
                </div>
            </div>
              <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_lamp" runat="server" CssClass="fontlabel"   Text="Factory (LAMP) :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_lamp"  runat="server" Width="250" ToolTip="*Factory(Lamp)" CssClass="ctlsearchinput" style="text-transform: uppercase;">
                    </asp:TextBox>
                    <asp:Button ID="btnfil_lamp" runat="server" Text="&nbsp;" CssClass="ctlsearchbutton"  OnClientClick="JavaScript:filterpopup('MainContent_txt_lamp','MainContent_txt_lamp','lamp','lamp','LineGroupMaster','');return false;"  />

                    </label>
                    </span>
                </div>
            </div>
             <div class="form-row">
                <div class="frmrow">
                   <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_linename" runat="server" CssClass="fontlabel"   Text="Line name :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_linename"  runat="server" Width="250" ToolTip="*Line name" CssClass="ctlsearchinput">
                      </asp:TextBox>
                         <asp:Button ID="btnfil_linename" runat="server" Text="&nbsp;" CssClass="ctlsearchbutton"  OnClientClick="JavaScript:filterpopup('MainContent_txt_linename','MainContent_txt_linename','linename','linename','LineGroupMaster','$and lamp =\''+$('#MainContent_txt_lamp').val()+'\'');return false;"  />
                        <asp:TextBox ID="txt_linegroup"  runat="server" Width="1" style="border-style:none;box-shadow:none;" ></asp:TextBox>

                       
                    </label>
                    </span>
                    </div>
              </div>        

                <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_model" runat="server" CssClass="fontlabel"   Text="Model :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_model"  runat="server" Width="250" ToolTip="*Model" CssClass="ctlsearchinput" >
                    </asp:TextBox>
                    <asp:Button ID="btnfil_model" runat="server" Text="&nbsp;" CssClass="ctlsearchbutton"  OnClientClick="JavaScript:filterpopup('MainContent_txt_partnumber','MainContent_txt_model','partnumber','model','LineGroupMaster','$and linename =\''+$('#MainContent_txt_linename').val()+'\'');return false;"  />
        <%--                $and usercode =\''+$('#lbluserid').html()+'\''--%>
                           <asp:TextBox ID="txt_partnumber"  runat="server" Width="1" style="border-style:none;box-shadow:none;" >
                    </asp:TextBox>

                    </label>
                    </span>
                </div>
            </div>
            
             <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_month" runat="server" CssClass="fontlabel"   Text="Month :" width="60px"></asp:Label>
                     <asp:DropDownList ID="txt_checkmonth"  runat="server" Width="60" onchange="javascript:getcalendar();return false;" >
                        
                     </asp:DropDownList>
                    </label>
                    <label>
                    <asp:Label ID="lbl_year" runat="server" CssClass="fontlabel"   Text="Year :" width="60px"></asp:Label>
                     <asp:DropDownList ID="txt_checkyear"  runat="server" Width="60" onchange="javascript:getcalendar();return false;" >
                       
                     </asp:DropDownList>
                    </label>

                    </span>

                    <span class="sp3">
                    <label>
                   <asp:Button ID="btnselect" CssClass="button" runat="server" Text="Select" style="width:60px;color:white;padding:1em;" OnClientClick="javascript:showdata();return false;"  />
                    </label>

                    </span>
                   
                    
                </div>
            </div>
          
                 <br />

        </div>       
     
<div id="loader"><img src="../loader.gif" /></div>     
<div id="g2" class="grouplist" style="margin-top:-2px;max-height:250px;width:100%;overflow:auto;"  onscroll='getnext_machineitem()'>
   
</div>
    <div class="form-row">
                <div class="frmrow">
                   <span class="sp1">


                   <span style="background-color:#cbfe74;width:100px;height:30px;">Status : Confirmed message </span>
                   <br />
                   <span style="background-color:#afd6fb;width:100px;height:30px;">Status : Approved </span>

                  

                 </span>
             <span class="sp3">
                    <label>
                  
                    <asp:Button ID="btncreatenextmonth" CssClass="button" runat="server" Text="Create next month" style="width:150px;color:white;padding:1em;" OnClientClick="javascript:createnextmonth();return false;"  />
                    </label>
                    </span>
       </div>
    </div>
    <div class="form-row">
                <div class="frmrow">
                    <span class="sp3">
                    <label>
                  
                             <asp:Button ID="btnback" runat="server"  Text="Back"  style="height:40px;width:150px;color:white;"  CssClass="ctlbackbutton" OnClick="btnback_Click"/>

                    </label>
                    </span>
                    
                </div>
            </div><br /><br />
   </div>
</asp:Content>
