<%@ page language="C#" autoeventwireup="true" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" inherits="Pages_Tally_ReceiptBookCompanyMapping, App_Web_kgsbokjr" 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 Book Tally Company Mapping"></asp:Label>
                                        </div>
                                    </div>
                                </div>
                                <div class="himsBoxContent">
                                    <div class="contentHolder">
                                        <div id="FeeSetupDetailDiv" runat="server" visible="false">
                                            <div class="himssuHeader6WireBox box-body box-solid  pTop5">
                                                <div class="himsBoxHeader" id="GridViewPagerDiv" runat="server" visible="false">
                                                    <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="ReceiptBookId" ShowHeader="True" ShowFooter="true" CssClass="table table-striped table-bordered">
                                                            <Columns>
                                                                <asp:BoundField DataField="ReceiptBookName" HeaderText="ReceiptBook Name" ItemStyle-Width="20%" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                                <asp:TemplateField HeaderText="CompanyName" ItemStyle-Width="30%" ItemStyle-Wrap="true">
                                                                    <ItemTemplate>
                                                                        <asp:TextBox ID="CompanyNameTextBox" runat="server" MaxLength="100" Text='<%# Bind("CompanyName") %>' Width="300px"></asp:TextBox>
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Cash Ledger" ItemStyle-Width="20%" ItemStyle-Wrap="true">
                                                                    <ItemTemplate>
                                                                        <asp:TextBox ID="CashLedgerTextBox" runat="server" Width="150px" Text='<%# Bind("CashLedgerName") %>' />
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                                <asp:TemplateField HeaderText="Bank Ledger" ItemStyle-Width="20%" ItemStyle-Wrap="true">
                                                                    <ItemTemplate>
                                                                        <asp:TextBox ID="BankLedgerTextBox" runat="server" Text='<%# Bind("BankLedgerName") %>' Width="150px" />
                                                                    </ItemTemplate>
                                                                </asp:TemplateField>
                                                            </Columns>
                                                            <PagerSettings Visible="False" />
                                                        </asp:GridView>
                                                    </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>