<%@ control language="VB" autoeventwireup="false" inherits="Client_CreditAdjustment, MachSol.MachPanel.Web" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="EM" %>

<div class="row">
    <ajax:UpdatePanel ID="UP_Payment" runat="server">
        <ContentTemplate>
            <EM:TabContainer ID="TC_Credits" runat="server" OnClientActiveTabChanged="loadTabPanel" ActiveTabIndex="0">
                <EM:TabPanel ID="Tab_AllPayments" runat="server" HeaderText='<%$ Resources:Content, GN0000843 %>'>
                    <ContentTemplate>
                        <asp:Button ID="Btn_Tab0" runat="server" Style="display: none;" />
                        <asp:Panel ID="Pnl_TabContent0" runat="server">
                            <div class="col-xs-12">
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <asp:Literal ID="Div1" runat="server" Text='<%$ Resources:Content, GN0000777 %>' EnableViewState="false" />:
                                    </div>
                                    <div class="col-sm-9 col-xs-12" id="Td_ReferenceNo" runat="server"></div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <asp:Literal ID="Div2" runat="server" Text='<%$ Resources:Content, GN0000721 %>' EnableViewState="false" />:
                                    </div>
                                    <div class="col-sm-9 col-xs-12" id="Td_Date" runat="server"></div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <asp:Literal ID="Div3" runat="server" Text='<%$ Resources:Content, String385 %>' EnableViewState="false" />:
                                    </div>
                                    <div class="col-sm-9 col-xs-12" id="Td_Status" runat="server"></div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <asp:Literal ID="Div4" runat="server" Text='<%$ Resources:Content, GN000114 %>' EnableViewState="false" />:
                                    </div>
                                    <div class="col-sm-9 col-xs-12" id="Td_Total" runat="server"></div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <asp:Literal ID="Div5" runat="server" Text='<%$ Resources:Content, GN0000693 %>' EnableViewState="false" />:
                                    </div>
                                    <div class="col-sm-9 col-xs-12" id="Td_Balance" runat="server"></div>
                                </div>
                                <div class="row">
                                    <div class="col-sm-3 col-xs-12 row-label">
                                        <asp:Literal ID="Div6" runat="server" Text='<%$ Resources:Content, GN0000746 %>' EnableViewState="false" />:
                                    </div>
                                    <div class="col-sm-9 col-xs-12" id="Td_Comment" runat="server"></div>
                                </div>
                            </div>
                        </asp:Panel>
                    </ContentTemplate>
                </EM:TabPanel>
                <EM:TabPanel ID="Tab_Invoice" runat="server" HeaderText='<%$ Resources:Content, GN00001370 %>'>
                    <ContentTemplate>
                        <asp:Button ID="Btn_Tab1" runat="server" Style="display: none;" />
                        <asp:Panel ID="Pnl_TabContent1" runat="server" Visible="false">
                            <div class="col-xs-12">
                                <asp:GridView ID="GV_Invoices" runat="server" AutoGenerateColumns="False" CssClass="table table-bordered table-striped table-hover">

                                    <Columns>
                                        <asp:TemplateField HeaderText='<%$ Resources:Content, GN0000718 %>' HeaderStyle-CssClass="col-xs-1" ItemStyle-CssClass="col-xs-1">
                                            <ItemTemplate>
                                                <div runat="server" id="Div_InvoiceId">
                                                </div>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText='<%$ Resources:Content, GN00001496 %>' HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3">
                                            <ItemTemplate>
                                                <div id="Div_Date" runat="server">
                                                </div>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText='<%$ Resources:Content, GN0000722 %>' HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3">
                                            <ItemTemplate>
                                                <div id="Div_DueDate" runat="server">
                                                </div>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText='<%$ Resources:Content, String385 %>' HeaderStyle-CssClass="col-xs-2" ItemStyle-CssClass="col-xs-2">
                                            <ItemTemplate>
                                                <div id="Div_Status" runat="server">
                                                </div>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                        <asp:TemplateField HeaderText='<%$ Resources:Content, GN0000693 %>' HeaderStyle-CssClass="col-xs-3" ItemStyle-CssClass="col-xs-3">
                                            <ItemTemplate>
                                                <div id="Div_Balance" runat="server">
                                                </div>
                                            </ItemTemplate>
                                        </asp:TemplateField>
                                    </Columns>
                                </asp:GridView>
                            </div>
                            <asp:HiddenField ID="HF_Value" runat="server" />
                            <asp:LinkButton ID="LB_Dummy" runat="server" Style="display: none"></asp:LinkButton>
                        </asp:Panel>
                    </ContentTemplate>
                </EM:TabPanel>
            </EM:TabContainer>
        </ContentTemplate>
    </ajax:UpdatePanel>
</div>
