<%@ Page Title="Machine inspection result" Language="C#" MasterPageFile="~/approve/Approve.Master" AutoEventWireup="true" CodeBehind="Machine_inspection_result.aspx.cs" Inherits="CheckSheet.approve.Machine_inspection_result" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
      <script type="text/javascript" src="Machine_inspection_result.js?v=012"></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="Machine 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.1em;"  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('rptMachineCSV_filter');return false;"   />
                    </label>
                    </span>
                    
                </div>
            </div><br />
            <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_linegroup" runat="server" CssClass="fontlabel"   Text="Line group :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_linegroup"  runat="server" Width="250" CssClass="ctlsearchinput">
                    </asp:TextBox>
                    <asp:Button ID="btnfil_linegroup" runat="server" Text="&nbsp;" CssClass="ctlsearchbutton"  OnClientClick="JavaScript:filterpopup('MainContent_txt_linegroup','MainContent_txt_linename','linegroupid','linename','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" CssClass="ctlsearchinput">
                    </asp:TextBox>
                    <asp:Button ID="btnfil_linename" runat="server" Text="&nbsp;" CssClass="ctlsearchbutton"  OnClientClick="JavaScript:filterpopup('MainContent_txt_linegroup','MainContent_txt_linename','linegroupid','linename','LineGroupMaster','');return false;"  />

                    </label>
                    </span>
                   
                    </div>
              </div>        
            <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lbl_partnumber" runat="server" CssClass="fontlabel"   Text="Part number :" width="150px"></asp:Label>
                     <asp:TextBox ID="txt_partnumber"  runat="server" Width="250" CssClass="ctlsearchinput">
                    </asp:TextBox>
                    <asp:Button ID="btnfil_partnumber" runat="server" Text="&nbsp;" CssClass="ctlsearchbutton"  OnClientClick="JavaScript:filterpopup('MainContent_txt_partnumber','MainContent_txt_partnumber','partnumber','partnumber','EquipmentList','');return false;"  />

                    </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="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>
