<%@ page title="" language="C#" masterpagefile="~/html/MasterPage.master" autoeventwireup="true" inherits="html_showpending_PO_Order, App_Web_fz5gj3qy" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">

    <link href="../css/ForTextBox.css" rel="stylesheet" type="text/css" />
    <link href="../css/buttoncss.css" type="text/css" rel="Stylesheet"/>
    <link href="../css/Widthset.css" rel="stylesheet" type="text/css" />

<style type="text/css">
 .shadow_five444 
      		 {
        background-color: #FFF0DB;
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
        -o-border-radius: 10px;
        -ms-border-radius: 10px;
        border-radius: 10px;
        -moz-box-shadow: 3px 3px 5px #B1A59A;
        -webkit-box-shadow: 3px 3px 5px #B1A59A;
        -o-box-shadow: 3px 3px 5px #B1A59A;
        -ms-box-shadow: 3px 3px 5px #B1A59A;
        box-shadow: 3px 3px 5px #B1A59A;
        padding: 10px;
        margin-right:10px;
        margin-left:3px;
        margin-bottom: 10px;
    }
</style>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    <asp:UpdateProgress ID="UpdateProgress2" runat="server" AssociatedUpdatePanelID="UpdatePanel1" 
                           DynamicLayout="true"  >
                          <ProgressTemplate>
                          <div style="width:100%;">
                              <div class="cssLoadingTimer"  >
                              <p> Please wait...</p>
                                  <img id="Img1update" alt="Loading..." src="../images/Regloader.gif" runat="server" style="margin-top:15px;" align="middle"  />
                                  </div>
                                  
                                  </div>
                          </ProgressTemplate>
                      </asp:UpdateProgress>




<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
<asp:Panel ID="Panel1" runat="server" CssClass="shadow_five444" align="Center">  <%--BorderStyle="Groove"--%> 
<asp:HiddenField ID="hf_year_no_enquiry" runat="server" />
            <asp:HiddenField ID="hf_month_no_enquiry" runat="server" />
             <asp:HiddenField ID="hf_todate_enquiry" runat="server" />
                <asp:HiddenField ID="hf_from_date_enquiry" runat="server" />
                 <asp:HiddenField ID="hf_enq_quo_records_count" runat="server" />
    <table width="100%" >
    <tr>
    <td align="justify" valign="middle">
    
    
                      <div class="p12" style="width:200px;"  align="center" >
      <p style="font-family:Verdana; font-size:14px; margin-top:0px;color:White;font-weight:bold;padding-top:5px;">
   Show Pending Orders
      </p>
           </div>
              <%--  <asp:Label ID="Label5" runat="server" Text="Show Pending Orders" CssClass="Label" 
                    Height="50px" Width="100%" ForeColor="White" Font-Bold="True" 
                    Font-Size="X-Large"></asp:Label>--%>
                  </td>
    </tr>
        </table>
        <div>
         <asp:Panel ID="pnlorder" runat="server"  Width="900px" CssClass="shadow_five21">
           
       <table cellspacing="0" width="100%">
        <tr>
            <td>
               </td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
            <td>
                &nbsp;</td>
           
        </tr>
         <%-- new--%>
         <tr>
         <td colspan="4">
         <asp:Panel ID="pnl_search_cust" runat="server" Visible="true" CssClass="shadow_five2_search">
  <div style="width:250px; height:18px;">
    <div align="left" style="width:60%;float:left;">
                 <asp:Label ID="lblCurrentMonth" runat="server" Font-Bold="True" 
                     Font-Size="16px" Font-Names="Verdana" ForeColor="#CC0000"></asp:Label>
             </div>
             </div>
             <br />
             <div style="width:100%;height:auto; " align="center">
        <b>Search Principal Name:</b> 
           <asp:DropDownList ID="ddlType" runat="server" Font-Bold="true" AutoPostBack="true"
         Height="25px" AppendDataBoundItems="True" 
                     onselectedindexchanged="ddlType_SelectedIndexChanged" >
           
                   </asp:DropDownList>
                 &nbsp;&nbsp;
            <asp:Label ID="lbl_dropdown_name" runat="server" Text="" Visible="false" Font-Bold="true"></asp:Label>
            
            
             <asp:Label ID="lbl_no_search" runat="server" Text="" ForeColor="Green" Font-Bold="true" Font-Names="Verdana" Font-Size="14px"></asp:Label>
            
          
             
   
<div align="center" >

            <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                ControlToValidate="ddlType" InitialValue="-Select-"
              ErrorMessage="Select Type" ValidationGroup="5"></asp:RequiredFieldValidator>

                  
        
                  
</div>

</div>
       </asp:Panel>
         </td>
         </tr>
         <%-- new--%>
        
        
   
    </table>
  
    </asp:Panel>
        </div>
       
        <br/>
         <asp:Panel ID="Panel2" runat="server" CssClass="shadow_five4444" align="Center" ScrollBars="Both" Width="1300px" Visible="false">
      <div  style="width:100%;height:auto; overflow:auto;"  visible="false">
      
     
   <asp:GridView ID="Gr_PO_Details" runat="server" AutoGenerateColumns="False" 
                            GridLines="Both"  Width="100%"
                           AllowPaging="true" PageSize="30"
                            BackColor="LightGoldenrodYellow" BorderColor="Tan" BorderWidth="1px"
                    CellPadding="2" Font-Names="Book Antiqua" Font-Size="11pt" ForeColor="Black" 
                           PagerStyle-CssClass="paging" CssClass="Type_css" >
 
                            <Columns>
                             
                         
                                <asp:TemplateField Visible="false">
                                    <ItemTemplate>
                                        <center>
                                            <asp:Label ID="lblprince" runat="server" Text='<%# Eval("Prince_id")%>' Width="5%"></asp:Label>
                                        </center>
                                    </ItemTemplate>
                                 
                                </asp:TemplateField>
                               
                                <asp:TemplateField HeaderText="Principal Name" HeaderStyle-Font-Size="16px">
                                    <ItemTemplate>
                                     
                                            <asp:Label ID="lblprName" runat="server" Text='<%# Eval("Principal_Name")%>' 
                                                Width="250px"></asp:Label>
                                      
                                    </ItemTemplate>
                                  
                                                         
                                </asp:TemplateField>
                                 <asp:TemplateField HeaderText="Principal Name" HeaderStyle-Font-Size="16px">
                                    <ItemTemplate>
                                     
                                            <asp:Label ID="lblCrName" runat="server" Text='<%# Eval("CrName")%>' 
                                                Width="250px"></asp:Label>
                                      
                                    </ItemTemplate>
                                    
                                                         
                                </asp:TemplateField>
                                                                                            
                                  <asp:TemplateField HeaderText="Customer Address">
                                  <ItemTemplate>
                            
                                            <asp:Label ID="lblprAddress" runat="server" Width="250px"
                                                Text='<%# Eval("Address")%>'></asp:Label>
                                      </ItemTemplate>
                                   
                               
                                </asp:TemplateField>
                                
                                   <asp:TemplateField HeaderText="Order No">
                                    <ItemTemplate>
                            
                                            <asp:Label ID="lblpoorder" runat="server" Width="150px" 
                                                Text='<%# Eval("Cust_PO_No")%>'></asp:Label>
                                      </ItemTemplate>
                                 
                                </asp:TemplateField>
                                
                                 <asp:TemplateField HeaderText="Date">
                                    <ItemTemplate>
                            
                                            <asp:Label ID="lblpoDate" runat="server"  Width="90px" 
                                                Text='<%# Eval("showdate")%>'></asp:Label>
                                      </ItemTemplate>
                                
                                  
                                </asp:TemplateField>
                                
                                   <asp:TemplateField HeaderText="Date Of order ">
                                    <ItemTemplate>
                            
                                            <asp:Label ID="lblpoDateofOrder" runat="server"  Width="90px" 
                                                Text='<%# Eval("Date_Of_Place_Order")%>'></asp:Label>
                                      </ItemTemplate>
                           
                                  
                                </asp:TemplateField>
                                
                                
                                  <asp:TemplateField HeaderText="Unit Details">
                                     <ItemTemplate>
                            
                                            <asp:Label ID="lblpounitdetails" runat="server"  Width="200px" 
                                                Text='<%# Eval("unit_Details")%>'></asp:Label>
                                      </ItemTemplate>
                           
                                   
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Qty" >
                               <ItemTemplate>
                            
                                            <asp:Label ID="lblpoQty" runat="server"  Width="100px" 
                                                Text='<%# Eval("Qty")%>'></asp:Label>
                                      </ItemTemplate>
                             
                               
                                </asp:TemplateField>
                                
                                
                                 <asp:TemplateField HeaderText="Payment Term">
                                    <ItemTemplate>
                            
                                            <asp:Label ID="lblpopaymentTerm" runat="server"  Width="200px" 
                                                Text='<%# Eval("payment_Terms")%>'></asp:Label>
                                      </ItemTemplate>
                                 
                                  
                                    </asp:TemplateField>
                                    
                                    
                                 <asp:TemplateField HeaderText="Advance Payment Details">
                                     <ItemTemplate>
                            
                                            <asp:Label ID="lblpoadvancePay" runat="server"  Width="200px" 
                                                Text='<%# Eval("Advance_Payment")%>'></asp:Label>
                                      </ItemTemplate>
                                 
                                    </asp:TemplateField>
                                    
                                      <asp:TemplateField HeaderText="Delivery Date">
                                   <ItemTemplate>
                            
                                            <asp:Label ID="lblpodilivery_date" runat="server"  Width="90px" 
                                                Text='<%# Eval("Delivery_Date")%>'></asp:Label>
                                      </ItemTemplate>
                               
                                  
                                    </asp:TemplateField>
                                    
                                          
                                      <asp:TemplateField HeaderText="PBG CG">
                                    <ItemTemplate>
                            
                                            <asp:Label ID="lblpoPBG_CG" runat="server"  Width="200px" 
                                                Text='<%# Eval("PBG_CG")%>'></asp:Label>
                                      </ItemTemplate>
                                  
                                  
                                    </asp:TemplateField> 
                                           <asp:TemplateField HeaderText="Balance Payment Details"> 
                                             
                                   <ItemTemplate>
                            
                                            <asp:Label ID="lblpobal_pay_detail" runat="server"  Width="200px" 
                                                Text='<%# Eval("Balance_Payment")%>'></asp:Label>
                                      </ItemTemplate>
                           
                                    </asp:TemplateField>
                                    
                                           
                                    
                                        <asp:TemplateField HeaderText="E & C Activity">
                                    <ItemTemplate>
                            
                                            <asp:Label ID="lblpoECActiv" runat="server"  Width="200px" 
                                                Text='<%# Eval("EC_Activity")%>'></asp:Label>
                                      </ItemTemplate>
                                 
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="Commissi. Activity">
                                    <ItemTemplate>
                            
                                            <asp:Label ID="lblpoCommission" runat="server"  Width="200px" 
                                                Text='<%# Eval("Comimssionin_Activity")%>'></asp:Label>
                                      </ItemTemplate>
                                
                                    </asp:TemplateField>
                                      <asp:TemplateField HeaderText="PreCommiss. Activity Or Not">
                                     
                                    <ItemTemplate>
                            
                                            <asp:Label ID="lblpoPreCommision" runat="server"  Width="200px" 
                                                Text='<%# Eval("Pre_Commissioning_Act")%>'></asp:Label>
                                      </ItemTemplate>
                             
                                  
                                    </asp:TemplateField>
                                     <asp:TemplateField HeaderText="Balance Payment Details 2">
                                     <ItemTemplate>
                            
                                            <asp:Label ID="lblpoBal_Pay2" runat="server"  Width="200px" 
                                                Text='<%# Eval("Balance_Payment2")%>'></asp:Label>
                                      </ItemTemplate>
                              
                                  
                                    </asp:TemplateField>
                                    
                                     <asp:TemplateField HeaderText="Manual / Drawings">
                                     <ItemTemplate>
                            
                                            <asp:Label ID="lblpoManu_draw" runat="server"  Width="200px" 
                                                Text='<%# Eval("Manual_Drawings")%>'></asp:Label>
                                      </ItemTemplate>
                              
                                  
                                    </asp:TemplateField>
                                        <asp:TemplateField HeaderText="C Form Date">
                                    <ItemTemplate>
                            
                                            <asp:Label ID="lblpoCFORM" runat="server"   Width="90px" 
                                                Text='<%# Eval("CForm_Date")%>'></asp:Label>
                                      </ItemTemplate>
                               
                                  
                                    </asp:TemplateField>
                                         <asp:TemplateField HeaderText="C Form Recieved Or Not">
                                     <ItemTemplate>
                            
                                            <asp:Label ID="lblpoCFORM_Not" runat="server"  Width="200px" 
                                                Text='<%# Eval("CForm_Recieved")%>'></asp:Label>
                                      </ItemTemplate>
                                  
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="OA & PI & Drawings">
                                   <ItemTemplate>
                            
                                            <asp:Label ID="lblpoOAPI_Draw" runat="server"  Width="200px" 
                                                Text='<%# Eval("OA_PI")%>'></asp:Label>
                                      </ItemTemplate>
                                
                                  
                                    </asp:TemplateField>
                                     <asp:TemplateField HeaderText="Installation Activity">
                                    <ItemTemplate>
                            
                                            <asp:Label ID="lblpoinstallation_Activ" runat="server"  Width="200px" 
                                                Text='<%# Eval("Installation_Act")%>'></asp:Label>
                                      </ItemTemplate>
                               
                                  
                                    </asp:TemplateField>
                                    <asp:TemplateField HeaderText="IBR Folder & Calculation">
                                    <ItemTemplate>
                            
                                            <asp:Label ID="lblpoIBRFolder" runat="server"  Width="200px" 
                                                Text='<%# Eval("IBR_Folder_Calculation")%>'></asp:Label>
                                      </ItemTemplate>
                                 
                                  
                                    </asp:TemplateField>
                                    
                                     <asp:TemplateField HeaderText="OA">
                                    <ItemTemplate>
                            
                                            <asp:Label ID="lblpoOA" runat="server"   Width="200px" 
                                                Text='<%# Eval("OA")%>'></asp:Label>
                                      </ItemTemplate>
                                 
                                  
                                    </asp:TemplateField>
                                    
                                     <asp:TemplateField HeaderText="Unit Receipt Date">
                                    <ItemTemplate>
                            
                                            <asp:Label ID="lblpoUnitRecipt" runat="server"  Width="100px" 
                                                Text='<%# Eval("unit_Receipt_Date")%>'></asp:Label>
                                      </ItemTemplate>
                            
                                  
                                    </asp:TemplateField> 
                                    
                                         <asp:TemplateField HeaderText="  Drawings & E & C Allocation">
                                     <ItemTemplate>
                            
                                            <asp:Label ID="lblDrawEC_Allo" runat="server"  Width="200px" 
                                                Text='<%# Eval("Drawings_EC")%>'></asp:Label>
                                      </ItemTemplate>
                                 
                                  
                                    </asp:TemplateField> 
                                   
                                         <asp:TemplateField HeaderText="Remark">
                                    <ItemTemplate>
                            
                                            <asp:Label ID="lblpoRemark" runat="server"   Width="200px" 
                                                Text='<%# Eval("Remark")%>'></asp:Label>
                                      </ItemTemplate>
                                  
                                  
                                    </asp:TemplateField>
                                                                                                
                            </Columns>
                            <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                            <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
                            <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                            <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                            <AlternatingRowStyle BackColor="White" />
                                <RowStyle BackColor="#ffc9bb" ForeColor="#333333" />
                        </asp:GridView> 
</div>
</asp:Panel>
 <%-- <asp:Panel ID="Panel3" runat="server" CssClass="shadow_five" align="Center">
 <div style="width:100%;" id="div_enquiry_pre_next" runat="server" >
          <div style="width:20%;float:left;" align="center">
            
            <asp:Button ID="btn_enquiry_previous_month" runat="server" CssClass="myButton" 
                    Text="Previous Month" ValidationGroup="1" Width="150px" onclick="btn_enquiry_previous_month_Click" 
           />
           
          
          </div>
           <div style="width:13%;float:right;">
              <asp:Button ID="btn_Enquiry_next" runat="server" CssClass="myButton" 
                    Text="Next Month" ValidationGroup="1" Width="110px" onclick="btn_Enquiry_next_Click" 
                   /> 
                
               
           </div>
          </div>
  </asp:Panel>--%></asp:Panel>
        </ContentTemplate>
        </asp:UpdatePanel>

</asp:Content>

