<%@ page title="" language="C#" masterpagefile="~/Pages/Common/MasterPages/MainMasterPage_new.master" autoeventwireup="true" inherits="Pages_FinancialManagement_Accounting_MonthlySummary, App_Web_51xr3gob" enableEventValidation="false" viewStateEncryptionMode="Never" %>

<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/Common/Account/AccountDetailBoxControl.ascx" TagName="AccountControl" TagPrefix="Acnt" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="OTQueueListingUpdatePanel" runat="server">
        <ContentTemplate>
            <div id="divContentPage">
                
                            <div class="dashBoardLeftCont">
                                <div class="himssuHeader3WireBox">
                                    <table>
                                        <tr>
                                            <td>
                                                <div class="himsBoxContent">
                                                    <div class="leftUlMenu">
                                                        <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="148"
                                                            Visible="true" runat="server" />
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </div>
                            <div class="whiteboxpaddingleft row">
                                <Acnt:AccountControl ID="AccountUserControl" runat="server" Visible="true" />
                                <div class="himssuHeader5WireBox card card-box">
                                    <div class="himsBoxHeader card-head">
                                        <asp:Panel ID="Panel1" runat="server">
                                            <div class="leftdiv">
                                            </div>
                                            <div class="himsBoxTitle">
                                                <div class="headerText">
                                                    <header>
                                                        <i class="fas fa-list-ul"></i>
                                                    <asp:Label ID="Label3" runat="server" Text="Monthly Summary"></asp:Label>
                                                    </header>
                                                </div>
                                            </div>
                                            <div class="fRight mt-27">
                                                <asp:Button ID="BackButton" runat="Server" OnClick="BackButton_Click" SkinID="0" class="btn btn-back fas" Text="&#xf30a;  Back" />
                                            </div>
                                        </asp:Panel>
                                    </div>
                                    <div class="himsBoxContent card-body">
                                        <asp:Panel ID="SearchPanel" runat="Server">
                                            <div class="contentHolder">
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLableWidth">
                                                        <asp:Label ID="LedgerSearchLabel" runat="server" Text="Monthly Summary"></asp:Label>
                                                    </div>
                                                    <div class="fLeft pRight5">
                                                        <asp:DropDownList runat="server" ID="MonthlySummaryDropDownList" SkinID="CustomWidthDropDownList"
                                                            CssClass="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                            AutoPostBack="true" OnSelectedIndexChanged="MonthlySummaryDropDownList_SelectedIndexChanged">
                                                            <asp:ListItem Text="Monthly" Value="2"></asp:ListItem>
                                                            <asp:ListItem Text="4 week Month" Value="8"></asp:ListItem>
                                                            <asp:ListItem Text="Daily" Value="1"></asp:ListItem>
                                                            <asp:ListItem Text="Fortnightly" Value="15"></asp:ListItem>
                                                            <asp:ListItem Text="Half Year" Value="6"></asp:ListItem>
                                                            <asp:ListItem Text="Quarterly" Value="3"></asp:ListItem>
                                                            <asp:ListItem Text="Weekly" Value="7"></asp:ListItem>
                                                            <asp:ListItem Text="Yearly" Value="12"></asp:ListItem>
                                                        </asp:DropDownList>
                                                    </div>
                                                </div>
                                                <div class="outerBox pTop5 col-md-3">
                                                    <div class="controlLableWidth">
                                                    </div>
                                                    <div class="fLeft pRight5" style="padding-top: 20px">
                                                        <asp:Label ID="Label1" runat="server" Text="Ledger Name :"></asp:Label>
                                                        <asp:Label ID="LedgerLabel" runat="server" Font-Bold="true"></asp:Label>
                                                    </div>
                                                </div>
                                                <div style="padding-top: 30px">
                                                    <asp:Label ID="openningBalanceTitleLabel" runat="server" Text="Openning Balance : "></asp:Label>
                                                    <asp:Label ID="OpenningBalanceLabel" runat="server" Text="" Font-Bold="true"></asp:Label>
                                                </div>
                                                
                                                <div id="Div2" class="himssuHeader1WireBox col-md-12" runat="server">
                                                    <div id="CashBankBookListDetailDiv" runat="server" visible="false">
                                                        
                                                        <div class="himsBoxContent">
                                                            <div id="Div5" runat="server" visible="false" class="table-responsive">
                                                                <asp:GridView ID="MonthlySummeryGridView" runat="server" AutoGenerateColumns="False"
                                                                    AllowPaging="false" SkinID="" PagerSettings-Visible="false" EmptyDataText="No Records Found !!"
                                                                    CssClass="table table-striped table-bordered table-hover" DataKeyNames="TransactionDate,TransactionDateTo,ClosingBalance" OnRowDataBound="MonthlySummeryGridView_RowDataBound">
                                                                    <Columns>
                                                                        <asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:LinkButton ID="SelectLinkButton" runat="server" CommandName="Select"
                                                                                    Text="Select" CausesValidation="false" OnClick="SelectLinkButton_Click"></asp:LinkButton>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Region" ItemStyle-Width="20%" SortExpression="Title" HeaderStyle-HorizontalAlign="Left"
                                                                            ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="RegionNameLabel" runat="server" Text='<%# Bind("Region") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Dr Balance" ItemStyle-Width="10%" SortExpression="Title" HeaderStyle-HorizontalAlign="Left"
                                                                            ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="DrBalanceLabel" runat="server" Text='<%# Bind("Debit") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Cr Balance" ItemStyle-Width="10%" SortExpression="Title" HeaderStyle-HorizontalAlign="Left"
                                                                            ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="CrBalanceLabel" runat="server" Text='<%# Bind("Credit") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                        <asp:TemplateField HeaderText="Closing Balance" ItemStyle-Width="10%" SortExpression="Title" HeaderStyle-HorizontalAlign="Left"
                                                                            ItemStyle-Wrap="true">
                                                                            <ItemTemplate>
                                                                                <asp:Label ID="ClosingBalanceLabel" runat="server" Text='<%# Bind("ClosingBalance") %>'></asp:Label>
                                                                            </ItemTemplate>
                                                                        </asp:TemplateField>
                                                                    </Columns>
                                                                </asp:GridView>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </asp:Panel>
                                    </div>
                                </div>                               
                            </div>                        
                </div>
            </div>
         
        </ContentTemplate>
    </asp:UpdatePanel>
    <script data-main="../../../JavaScript/rjs/encrypt/monthly-summary-encrypt" src="../../../JavaScript/rjs/require.js"></script>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/monthly-summary")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>
</asp:Content>