<%@ Page Language="C#" MasterPageFile="~/Admin/MasterPage/AdminMasterPage.master" AutoEventWireup="true" CodeFile="fundrequest.aspx.cs" 
Inherits="Admin_fundrequest"%>

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

    <script src="script/ddlevelsmenu.js" type="text/javascript"></script>

    <script src="script/func.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
       <tr><td style="text-align:center"><asp:Label ID="lblerror" runat="server"></asp:Label></td></tr>
	   <tr>
	       <td colspan="11" style="text-align:right; padding:10px">
	           <asp:Button ID="btn_RequestAccept" runat="server" class="button active" 
                   Text="Accept" onclick="btn_RequestAccept_Click"  />&nbsp;&nbsp;&nbsp;
	           <asp:Button ID="btn_RequestDecline" runat="server" Text="Decline" 
                   class="button active" onclick="btn_RequestDecline_Click"  />	       
	       </td>
	   </tr>
       <tr>
       <td>
          <asp:GridView ID="GvRequestAmount" runat="server" AutoGenerateColumns="false" 
               ForeColor="#333333" Width="100%" DataKeyNames="CURRENTLEVEL,TRANSACTIONID,Amount" >
          <RowStyle BackColor="#EFF3FB" HorizontalAlign="Center" VerticalAlign="Bottom" />
              <Columns>
                    <asp:TemplateField HeaderText="S.No.">
                     <ItemTemplate>
                         <asp:CheckBox ID="chkbox" runat="server" />
                         <%#((GridViewRow)Container).RowIndex+1 %>
                     </ItemTemplate>
                 </asp:TemplateField>
                 <asp:BoundField HeaderText="Request Date & Time" DataField="DEPOSITDATETIME" />
                 <asp:BoundField HeaderText="User Type" DataField="USERTYPE" SortExpression="USERTYPE"/>
                 <asp:BoundField HeaderText="User ID" DataField="USERNAME" />
                 <asp:BoundField HeaderText="Name" DataField="FIRSTNAME" />
                 <asp:BoundField HeaderText="Pay Made" DataField="MODEOFPAYMENT" SortExpression="MODEOFPAYMENT"/>               
                 <asp:BoundField HeaderText="Bank Txn. Id" DataField="BankTranID" />
                 <asp:BoundField HeaderText="Bank" DataField="BANKNAME" SortExpression="BANKNAME"/>
                 <asp:BoundField HeaderText="Amount" DataField="Amount" /> 
                 <asp:BoundField HeaderText="Txn. Id" DataField="TRANSACTIONID" />                
                 <asp:BoundField HeaderText="Status" DataField="STATUS" />
                 <asp:TemplateField HeaderText="Decline Reason">
                       <ItemTemplate>
                              <asp:TextBox ID="txt_DeclineReasion" MaxLength="40" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.DeclineReason") %>' Width="110px" ></asp:TextBox>
                       </ItemTemplate>
                 </asp:TemplateField>              
              </Columns>
                <FooterStyle BackColor="#8ca6b3" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="#8ca6b3" ForeColor="White" HorizontalAlign="Center" />
                <SelectedRowStyle BackColor="#8ca6b3" Font-Bold="True" ForeColor="#333333" />
                <HeaderStyle BackColor="#8ca6b3" Font-Bold="True" ForeColor="White" />
                <EditRowStyle BackColor="#8ca6b3" />
                <AlternatingRowStyle BackColor="White" />
           </asp:GridView>        
        </td>
       </tr>
    </table>

</asp:Content>

