<%@ page language="C#" autoeventwireup="true" inherits="Pages_Tally_ReceiptTallyPosting, App_Web_kgsbokjr" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" uiculture="auto" meta:resourcekey="PageResource1" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl" TagPrefix="Date" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/AutoComplete/AutoCompleteControl.ascx" TagName="AutoCompleteControl" TagPrefix="acc" %>
<%@ Register Src="~/UserControls/Common/CommonSearch/CommonSearch.ascx" TagName="CommonSearchUserControl" TagPrefix="Common" %>
<%@ Register Src="~/UserControls/Common/EmployeeSearch/EmployeeSearch.ascx" TagName="EmployeeSearchControl" TagPrefix="hims" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="OTQueueListingUpdatePanel" runat="server">
        <ContentTemplate>
            <div>
                <table width="100%" border="0" style="vertical-align: top; margin-top: -1px; border-collapse: collapse;" cellpadding="0"
                    cellspacing="0">
                    <tr>
                        <td class="dashBoardLeftCont" valign="top">
                            <div class="himssuHeader3WireBox">
                                <table width="0px" cellpadding="0" cellspacing="0">
                                    <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="216"
                                        Visible="true" runat="server" />
                                </table>
                            </div>
                        </td>
                        <td style="vertical-align: top;" width="100%" class="whiteboxpaddingleft">
                            <div class="himssuHeader1WireBox whitebox">
                                <div class="himsBoxHeader note note1 box box-danger">
                                    <div class="leftdiv">
                                    </div>
                                    <div class="himsBoxTitle">
                                        <div class="headerText">
                                            <asp:Label ID="ReasonMasterDetailLabel" runat="server" Text="Receipt Tally Posting"></asp:Label>
                                        </div>
                                    </div>
                                </div>
                                <div class="himsBoxContent">
                                    <div class="contentHolder">
                                        <div class="outerBox pTop5">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ReceiptBookLabel" Text="ReceiptBook" runat="server"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <asp:DropDownList ID="ReceiptBookDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                    onmouseenter="showHideTooltip()" AutoPostBack="true"
                                                    SkinID="CustomWidthDropDownList" Width="154px"
                                                    OnSelectedIndexChanged="ReceiptBookDropDownList_SelectedIndexChanged">
                                                </asp:DropDownList>
                                            </div>
                                        </div>
                                        <div class="outerBox pTop5">
                                            <div class="controlLabelWidth">
                                                <asp:Label ID="ReceiptDateLabel" runat="server" Text="Receipt Date"></asp:Label>
                                            </div>
                                            <div class="fLeft pRight5">
                                                <Date:DatePickerControl DisplayDatePicker="true" ID="ReceiptDatePickerControl" runat="server" OnTextChanged="ReceiptBookDropDownList_SelectedIndexChanged" />
                                            </div>
                                        </div>
                                        <div class="cBoth">
                                        </div>
                                        <div class="spacer">
                                            <asp:Image ID="Image5" runat="server" ImageUrl="~/Images/spacer.gif" />
                                        </div>
                                        <div class="contentHolder">

                                            <div id="FeeSetupDetailDiv" runat="server" visible="true">

                                                <div class="himssuHeader6WireBox box-body box-solid  pTop5">
                                                    <div class="himsBoxHeader" id="GridViewPagerDiv" runat="server" visible="false">
                                                        <div class="leftdiv">
                                                        </div>
                                                        <div class="himsBoxTitle">
                                                            <div class="gridHeaderText">
                                                                <asp:Label ID="GridViewLabel" Text="List" runat="server" />
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="himsBoxContent gridviewfont">
                                                        <div id="Div5" runat="server" visible="true">
                                                            <asp:GridView ID="TallyComapnyGridView" runat="server" Width="100%" AutoGenerateColumns="False"
                                                                EmptyDataText="No Records Found !!" AllowPaging="False"
                                                                DataKeyNames="FeeId,PayTypeId" ShowHeader="True" ShowFooter="true" CssClass="table table-striped table-bordered">
                                                                <Columns>
                                                                    <asp:BoundField DataField="ReceiptDate" HeaderText="Receipt Date" DataFormatString="{0:yyyy-MM-dd}" ItemStyle-Width="20%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                    <asp:BoundField DataField="FeeName" HeaderText="Fee Name" ItemStyle-Width="20%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                    <asp:BoundField DataField="PayType" HeaderText="Pay Type" ItemStyle-Width="20%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                    <asp:BoundField DataField="Amount" HeaderText="Amount" ItemStyle-Width="20%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                </Columns>
                                                                <PagerSettings Visible="False" />
                                                            </asp:GridView>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </td>
                    </tr>
                </table>
            </div>            
            <div class="spacer">
                <img src="../../Images/spacer.gif" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <%--<script data-main="../../JavaScript/rjs/encrypt/feeledger-mapping-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>   
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/feeledger-mapping")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>