<%@ Page Title="Create checklist" Language="C#" MasterPageFile="~/approve/Approve.Master" AutoEventWireup="true" CodeBehind="Jig_checklist_create.aspx.cs" Inherits="CheckSheet.approve.Jig_checklist_create" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
      <script type="text/javascript" src="Jig_checklist_create.js?v=1"></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="Create next month format"  width="250px"></asp:Label>
                   
                    </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:getdate();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:getdate();return false;">
                       
                     </asp:DropDownList>
                    </label>

                    </span>

                   
                   
                    
                </div>
            </div>
          
                    <div class="form-row">
                <div class="frmrow">
             <span class="sp3">
                    <label>
                  
                    <asp:Button ID="btnview" CssClass="button" runat="server" Text="Select" style="width:150px;color:white;padding:1em;"  OnClientClick="javascript:getdate();return false;"  />
                    </label>
                    </span>
       </div>
    </div>
<br />     
        </div>  
     
             <label>
                    <asp:Label ID="lblhd" runat="server" CssClass="content"  style="margin-top:5px;"   Text="yyyy/mm " width="150px"></asp:Label>
                   

                    </label>

<div id="loader"><img src="../loader.gif" /></div>     
<div id="g2" class="grouplist" style="margin-top:-2px;max-height:250px;width:99%;overflow:auto;" onscroll='getnext()'>
   
</div>
    <div class="form-row">
                <div class="frmrow">
             <span class="sp3">
                    <label>
                  
                    <asp:Button ID="btncreatenextmonth" CssClass="button" runat="server" Text="Create" style="width:150px;color:white;padding:1em;"  OnClientClick="javascript:saveall();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" OnClientClick="javascript:back();return false;"/>
                    </label>
                    </span>
                    
                </div>
            </div><br /><br />
   </div>
</asp:Content>