<%@ Page Title="Approve" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Approve.aspx.cs" Inherits="SCRAP_WEB.Approve" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajax" %> 

<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
<script type="text/javascript" src="Approve.js?v=012"></script>



<asp:Panel ID="Panel1" runat="server" style="overflow:no-display;" Width="100%" Height="600px"> 


 <div id="frommain">
        <div id="g1" class="grouplist">

            <div id="flow"></div>
            <div style="height:150px; overflow: auto;position:fixed;margin-left:5%;margin-top:25px;z-index:9999;">
            <table id ="tblapprove" class="tbl" style="width:200px; background-color:white;z-index:9999;overflow:auto;">
                <thead>
                    <th>Doc no.</th>
                    <th>Status</th>
                </thead>
                <tbody id="tdocbody" style="background-color:white;">                    

                </tbody>
               

            </table>
            </div>
            <div id="btncontrol" style="display:inline-flexbox;margin-top:20px;position:fixed;z-index:99999;margin-left:30%;">
                    <asp:Button ID="btnapprove" CssClass="ctlsavebutton" BackColor="LightGreen" runat="server" Text="Approve" OnClientClick="JavaScript:saveapprove();return false;" />
                    <asp:Button ID="btnreject" CssClass="ctlsavebutton" BackColor="Red" runat="server" Text="Reject" OnClientClick="JavaScript:savereject();return false;" />
             <br /><br />
                <asp:Label ID="lbl_remark" runat ="server" class="fontlabel" Font-Bold="true" Text="Remark :"></asp:Label>
                <asp:TextBox ID="txt_remark" runat ="server" CssClass="ctlsearchinput" TextMode="MultiLine" Rows="4" Width="400" style="line-height:25px;"></asp:TextBox>
            </div>
             
             <div class="form-row">
                <div class="frmrow">
                    <span class="sp1">
                    <label>
                    <asp:Label ID="lblPageName" runat="server"  CssClass="frmheader"  Text="Approve Data"  width="120px"></asp:Label>
                   
                    </label>
                    </span>

                    <span class="sp3">
                    <label>
                    <asp:Label ID="lbl_docno" runat="server" CssClass="fontlabel"  ToolTip="codegen"   Text="Doc entry no." width="120px"></asp:Label>
                    <asp:Label ID="txt_docno"  runat="server" Width="160px"  CssClass="fontlabelcontent" style="text-align:right;"></asp:Label> 
                   
                    </label>
                    </span>
                </div>
            </div>
             <div class="form-row">
                <div class="frmrow">
                   
                    <span class="sp3">
                    <label>
                    <asp:Label ID="lbl_section" runat="server" CssClass="fontlabel"   Text="Section :" width="120px"></asp:Label>
                    <asp:Label ID="ddl_section"  runat="server" Width="160px"    CssClass="fontlabelcontent" style="text-align:right;"></asp:Label> 

                    </label>
                    </span>
                </div>
            </div>
             <div class="form-row">
                <div class="frmrow">
                    <span class="sp3">
                    <label>
                    <asp:Label ID="lbl_shop" runat="server" CssClass="fontlabel"   Text="Shop :" width="120px"></asp:Label>
                     <asp:Label ID="txt_shop"  runat="server" Width="160px"  CssClass="fontlabelcontent" style="text-align:right;"></asp:Label> 

                         
                    </label>
                    </span>
                </div>
            </div>
             <div class="form-row">
                <div class="frmrow">
                    <span class="sp3">
                    <label>
                    <asp:Label ID="lbl_date" runat="server" CssClass="fontlabel"   Text="Date :" width="120px"></asp:Label>
                     <asp:Label ID="txt_date"  runat="server" Width="160px"   CssClass="fontlabelcontent" style="text-align:right;"></asp:Label> 

                         
                    </label>
                    </span>
                </div>
            </div>
                 <div class="form-row">
                <div class="frmrow">
                    <span class="sp3">
                    <label>
                    <asp:Label ID="lbl_scraptype" runat="server" CssClass="fontlabel"   Text="Scrap Type :" width="120px"></asp:Label>
                     <asp:Label ID="ddl_scraptype"  runat="server" Width="160px"   CssClass="fontlabelcontent" style="text-align:right;"></asp:Label> 

                         
                    </label>
                    </span>
                </div>
            </div>
         
             <div class="form-row">
                <div class="frmrow">
                    
                    <span class="sp3">
                    <label>
                      <asp:Label ID="lbl_ngfrom" runat="server" CssClass="fontlabel" ToolTip="*"   Text="NG From :" width="250px"></asp:Label>
                      <asp:Label ID="ddl_ngfrom"  runat="server" Width="160px"   CssClass="fontlabelcontent" style="text-align:right;"></asp:Label> 

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

             
<div id="g2" class="grouplist" style="margin-top:-3px;width:99%;overflow:auto;">

 <table class='tbl' id='tbldt' style="width:100%;"><thead><tr>


<th style="width:3%;"><span style='font-size:12px;' id='seqno'>No</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='modelcode'>Model Code</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='modelname'>Model Name</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='drawing'>Drawing</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='partname'>PartName</span></th>
<th style="width:3%;"><span style='font-size:12px;' id='boi'>BOI<br />Factory</span></th>
<th style="width:3%;"><span style='font-size:12px;' id='defect'>Defect</span></th>
<th style="width:7%;"><span style='font-size:12px;' id='defectname'>Defect description</span></th>
<th style="width:7%;"><span style='font-size:12px;' id='qty'>Qty</span></th>
<th style="width:12%;" colspan="2"><span style='font-size:12px;' id='priceperunit'>Price/Unit</span></th>
<th style="width:5%;"><span style='font-size:12px;' id='line'>Line</span></th>
<th style="width:7%;"><span style='font-size:12px;' id='machine'>Machine</span></th>
<th style="width:7%;"><span style='font-size:12px;' id='shift'>Shift</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='pmwscd'>PM WSCD<br />(PM Workshop Code)</span></th>
<th style="width:15%;"><span style='font-size:12px;' id='remark'>Remark</span></th>






<th></th>

                    </tr>
                   
</thead>
<tbody>
<tr id="rowd_0">
   
   
      <td style="width:3%;"> 
            <asp:Label ID="txt_SeqNo_0"  runat="server" width="30px"   CssClass="fontlabelcontent"></asp:Label>
 </td> 
    
         <td style="width:7%;"> 
<asp:Label ID="txt_ModelCode_0"  runat="server" width="120px"   CssClass="fontlabelcontent"></asp:Label>

 </td> 

             <td style="width:7%;"> 
<asp:Label ID="txt_ModelName_0"  runat="server" width="120px"   CssClass="fontlabelcontent"></asp:Label>

 </td> 
       <td style="width:7%;"> 
<asp:Label ID="txt_Drwaing_0"  runat="server" width="120px"   CssClass="fontlabelcontent"></asp:Label>

 </td> 
    


     <td style="width:7%;"> 
<asp:Label ID="txt_PartName_0"  runat="server" width="120px"   CssClass="fontlabelcontent"></asp:Label>

 
 </td> 



    <td style="width:3%;"> 
<asp:Label ID="ddl_Boi_0"  runat="server" width="50px"   CssClass="fontlabelcontent" style="text-align:center;"></asp:Label>

 
   <td style="width:7%;"> 
<asp:Label ID="txt_Defect_0"  runat="server" width="80px"   CssClass="fontlabelcontent" style="text-align: center;text-transform:uppercase;"></asp:Label>

  
   </td>
     
   <td style="width:7%;"> 


 <asp:Label ID="txt_DefectName_0"  runat="server" width="150px"   CssClass="fontlabelcontent"></asp:Label> 
   </td>
   <td style="width:7%;"> 
  <asp:Label ID="txt_Qty_0"  runat="server" width="60px"   CssClass="fontlabelcontent" style="text-align:right;"></asp:Label>
 </td>
     <td style="width:5%;"> 

   <asp:Label ID="txt_PricePerUnit_0"  runat="server" width="100px"   CssClass="fontlabelcontent" style="text-align:right;"></asp:Label>
       
     </td>
   <td style="width:5%;"> 
       <asp:Label ID="ddl_Unit_0"  runat="server" width="80px"   CssClass="fontlabelcontent"></asp:Label>

   </td>
    
   <td style="width:7%;"> 
      <asp:Label ID="txt_Line_0"  runat="server" width="80px"   CssClass="fontlabelcontent" style="text-align: left;text-transform:uppercase;"></asp:Label>

 </td> 

    <td style="width:7%;"> 
      <asp:Label ID="txt_Machine_0"  runat="server" width="70px"   CssClass="fontlabelcontent" style="text-align:right;"></asp:Label>


 </td> 
    <td style="width:7%;"> 
          <asp:Label ID="txt_Shift_0"  runat="server" width="70px"   CssClass="fontlabelcontent" style="text-align: center;text-transform:uppercase"></asp:Label>

 </td> 
      <td style="width:20%;"> 
             <asp:Label ID="ddl_PM_0"  runat="server" width="200px"   CssClass="fontlabelcontent" style="text-align:left;"></asp:Label>    
</td>
         <td style="width:20%;"> 
 <asp:Label ID="txt_Remark_0"  runat="server" width="250px"   CssClass="fontlabelcontent" style="text-align:left;"></asp:Label>    


 </td> 

   
    </tr>


</tbody></table>
</div>
<div id="g3" class="grouplist">

</div>

     </div>
    </asp:Panel>
</asp:Content>

