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

<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl" TagPrefix="Date" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register Src="~/UserControls/GridViewPager/GridViewPager.ascx" TagName="GridViewPager" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/Common/ScreenGroup/ScreenGroup.ascx" TagName="ScreenGroupControl" TagPrefix="ScreenGroup" %>
<%@ Register Src="~/UserControls/DatePicker/DatePickerControl.ascx" TagName="DatePickerControl" TagPrefix="DPC" %>
<%@ Register Src="~/UserControls/Common/StudentSearch/StudentSearch.ascx" TagName="StudentSearch" TagPrefix="Std" %>

<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
    <asp:UpdatePanel ID="IncidentLogUpdatePanel" runat="server" UpdateMode="Always">
        <ContentTemplate>
            <Std:StudentSearch ID="StudentSearch" Visible="false" runat="server" />
            <div id="divContentPage" class="divcontentpagemargin">
                <div class="dashBoardLeftCont">
                    <div class="himssuHeader3WireBox">
                        <table>
                            <ScreenGroup:ScreenGroupControl EnableViewState="true" ID="ScreenGroupControl" ScreenGroupId="236"
                                Visible="true" runat="server" />
                        </table>
                    </div>
                </div>
                <div class="whiteboxpaddingleft row">
                    <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-search"></i>
                                            <asp:Label ID="SearchHeaderLabel" runat="server" Text="Search"></asp:Label>
                                        </header>
                                    </div>
                                </div>
                                <div class="fRight mt-27 pagination">
                                </div>
                            </asp:Panel>
                        </div>
                        <div class="himsBoxContent card-body">
                            <asp:Panel ID="SearchCriteriaPanel" runat="Server">
                                <div class="contentHolder">
                                    <asp:Panel ID="SearchPanel" runat="Server">
                                        <div class="contentHolder">
                                            <div class="outerBox11 pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="GatewayLabel" Text="Gateway (Use : Update Transaction)" runat="server" SkinID="MandatoryLabel"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList ID="GatewayDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                        onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" CssClass="form-control">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="ReferenceNoLabel" runat="server" Text="Reference No"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5 display-flex">
                                                    <asp:TextBox ID="ReferenceNoTextBox" SkinID="CustomWidthTextBox" runat="server" MaxLength="16" TextMode="Number"></asp:TextBox>
                                                </div>
                                            </div>
                                            <asp:HiddenField ID="SourceIdHiddenField" runat="server" />
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="IdNoLabel" runat="server" Text="ID No"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5 display-flex">
                                                    <asp:TextBox ID="IdNoTextBox" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()"
                                                        OnTextChanged="IdNoTextBox_TextChanged" SkinID="CustomWidthTextBox"
                                                        runat="server" MaxLength="200" AutoPostBack="true">
                                                    </asp:TextBox>
                                                    <asp:ImageButton SkinID="FindImage" ToolTip="Student Search" ID="StudentIdNoImageButton"
                                                        ImageUrl="~/Images/icons/icon_find.gif" runat="server" />
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3" style="display: none;">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="FirstNameLabel" runat="server" Text="First Name"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:TextBox ID="FirstNameTextBox" SkinID="CustomWidthTextBox" runat="server"
                                                        MaxLength="20">
                                                    </asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="FormNoLabel" runat="server" Text="Form No"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5 display-flex">
                                                    <asp:TextBox ID="FormNoTextBox" SkinID="CustomWidthTextBox" runat="server" MaxLength="8" TextMode="Number"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="TransactionStatusLabel" runat="server" Text="Transaction Status"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList runat="server" ID="TransactionStatusDropDownList" SkinID="CustomWidthDropDownList"
                                                        class="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="ReceiptBookLabel" runat="server" Text="Receipt Book"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList runat="server" ID="ReceiptBookDropDownList" SkinID="CustomWidthDropDownList"
                                                        class="form-control" onmouseleave="showHideTooltip()" onmouseenter="showHideTooltip()">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="FuncationalityLabel" Text="Functionality" runat="server"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList ID="FuncationalityDownList" runat="server" onmouseleave="showHideTooltip()"
                                                        onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" class="form-control">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="OSTypeLabel" Text="OSType" runat="server"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <asp:DropDownList ID="OSTypeDropDownList" runat="server" onmouseleave="showHideTooltip()"
                                                        onmouseenter="showHideTooltip()" SkinID="CustomWidthDropDownList" class="form-control">
                                                    </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="FromDateLabel" runat="server" Text="From Date" Visible="True"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <Date:DatePickerControl DisplayDatePicker="true" ID="FromDatePickerControl" Visible="True"
                                                        runat="server" />
                                                </div>
                                            </div>
                                            <div class="outerBox pTop5 col-md-3">
                                                <div class="controlLabelWidth">
                                                    <asp:Label ID="ToDateLabel" runat="server" Text="To Date" Visible="True"></asp:Label>
                                                </div>
                                                <div class="fLeft pRight5">
                                                    <Date:DatePickerControl DisplayDatePicker="True" ID="ToDatePickerControl" Visible="True"
                                                        runat="server" />
                                                </div>
                                            </div>
                                            <div class="alignCenter col-md-12 pTop15 pb5">
                                                <asp:Button ID="SearchButton" runat="Server" OnClick="SearchButton_Click" Text="&#xf002; Search" SkinID="0" CssClass="btn-search btn fas" />
                                                <asp:Button ID="ClearButton" runat="server" Text="&#xf0e2; Reset" OnClick="ClearSearch_Click" SkinID="0" CssClass="btn-reset btn fas" />
                                                <asp:Button ID="ExportButton" runat="server" Text="&#xf093; Export" OnClick="ExportButton_Click"
                                                    SkinID="0" CssClass="btn btn-examcommon fas" />
                                                <asp:Button ID="UpdateTransactionButton" runat="server" Text="&#xf044; Update Transaction" OnClick="UpdateTransactionButton_Click"
                                                    SkinID="0" CssClass="btn btn-update fas" />
                                            </div>
                                        </div>
                                    </asp:Panel>
                                    <div id="Div5" class="himssuHeader7WireBox box-body box-solid gridviewfont" runat="server">
                                        <div id="ReceiptDetailDiv" visible="false" runat="server">
                                            <div class="himsBoxHeader" id="Div2" runat="server" visible="false">
                                                <div class="leftdiv">
                                                </div>
                                                <div class="himsBoxTitle">
                                                    <div class="headerText">
                                                        <div>
                                                            <asp:Label ID="GridViewLabel" Text="" runat="server" Font-Bold="true" />
                                                        </div>
                                                    </div>

                                                    <div class="col-md-12 padd-0">
                                                        <div class="col-md-5">
                                                            <asp:Label ID="Label1" Text="Records per Page : " runat="server" />
                                                            <asp:DropDownList ID="AddRowsToGridDropDownList" SkinID="CustomWidthDropDownList" Width="60px" runat="server"
                                                                AutoPostBack="true" OnSelectedIndexChanged="AddRowsToGridDropDownList_SelectedIndexChanged">
                                                                <asp:ListItem Text="10" Value="10" Selected="True"></asp:ListItem>
                                                                <asp:ListItem Text="20" Value="20"></asp:ListItem>
                                                                <asp:ListItem Text="50" Value="50"></asp:ListItem>
                                                                <asp:ListItem Text="100" Value="100"></asp:ListItem>
                                                            </asp:DropDownList>
                                                        </div>
                                                        <div class="col-md-7">
                                                            <uc1:GridViewPager ID="FeeReceiptListGridView_GridViewPager" runat="server" OnFirstRecordClick="FeeReceiptListGridView_GridViewPager_FirstRecordClick"
                                                                OnLastRecordClick="FeeReceiptListGridView_GridViewPager_LastRecordClick" OnNextRecordClick="FeeReceiptListGridView_GridViewPager_NextRecordClick"
                                                                OnPrevRecordClick="FeeReceiptListGridView_GridViewPager_PrevRecordClick" OnTextBoxValueChange="FeeReceiptListGridView_GridViewPager_TextBoxValueChange"
                                                                ParentGridView="FeeReceiptListGridView" />
                                                        </div>
                                                    </div>

                                                </div>
                                            </div>
                                            <div class="himsBoxContent">
                                                <div id="Div3" runat="server" visible="true" class="table-responsive">
                                                    <div id="Div4" class="himsBoxContentMsg" runat="server" visible="False">
                                                    </div>
                                                    <asp:GridView ID="FeeReceiptListGridView" runat="server" AutoGenerateColumns="false"
                                                        EmptyDataText="No Records Found !!" AllowPaging="true" ShowHeader="true" OnRowDataBound="FeeReceiptListGridView_RowDataBound"
                                                        PageSize="10" OnPageIndexChanging="FeeReceiptListGridView_PageIndexChanging"
                                                        CssClass="table table-striped table-bordered table-hover" DataKeyNames="TransactionSourceTypeId,TransactionSourceId,BankName,PaymentTransactionId,ColorCode,TransactionStatusId,FunctionalityId,PayAmount,ReceiptBook,BankTransactionId,ReceiptBookId">
                                                        <Columns>

                                                            <asp:TemplateField ItemStyle-Width="5%" ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true"
                                                                HeaderText="">
                                                                <HeaderTemplate>
                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                        <asp:CheckBox ID="HeaderCheckBox" runat="server" AutoPostBack="true" OnCheckedChanged="HeaderCheckBox_checked" />
                                                                        <span></span>
                                                                    </label>
                                                                </HeaderTemplate>
                                                                <ItemTemplate>
                                                                    <label class="rt-chkbox rt-chkbox-outline">
                                                                        <asp:CheckBox ID="SelectCheckBox" runat="server" />
                                                                        <span></span>
                                                                    </label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:BoundField DataField="OSType" HeaderText="OS Type" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:BoundField DataField="PaymentTransactionId" HeaderText="TransactionId / Reference No" HeaderStyle-HorizontalAlign="Left" />
                                                            <asp:TemplateField ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap="true" HeaderText="Transaction Date Time">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="DateLabel" runat="server" Text='<%#Eval("PayDateTime","{0:dd/MM/yyyy HH:mm:ss}")%>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:BoundField DataField="Functionality" HeaderText="Functionality" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:BoundField DataField="ClassName" HeaderText="Class" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:TemplateField ItemStyle-Wrap="true" HeaderText="Id No / Form No">
                                                                <ItemTemplate>
                                                                    <asp:LinkButton ID="CodeLinkButton" runat="server" CommandName="Select" Text='<%#Eval("Code")%>' OnClick="CodeLinkButton_Click"
                                                                        CausesValidation="false" CommandArgument='<%# Container.DataItemIndex %>'></asp:LinkButton>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:BoundField DataField="Name" HeaderText="StudentName" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:BoundField DataField="ReceiptBook" HeaderText="Receipt Book" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:BoundField DataField="PayAmount" HeaderText="PayAmount" HeaderStyle-HorizontalAlign="Left"></asp:BoundField>
                                                            <asp:TemplateField ItemStyle-Wrap="true" HeaderText="Status">
                                                                <ItemTemplate>
                                                                    <asp:Label ID="TransStatusLabel" runat="server" Text='<%#Eval("TransactionStatus")%>'></asp:Label>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left" HeaderText="Receipt Generate">
                                                                <ItemTemplate>
                                                                    <asp:LinkButton ID="ReceiptGenerateReportDetailLabel" CommandName="ReceiptGenerate"
                                                                        CommandArgument="TransactionSourceId" SkinID="CustomWidthLabel" runat="server"
                                                                        Text="Receipt Generate" OnClick="ReceiptGenerateLinkButton_Click"></asp:LinkButton>
                                                                </ItemTemplate>
                                                            </asp:TemplateField>
                                                            <asp:TemplateField ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left" HeaderText="Delete Transaction">
                                                                <ItemTemplate>
                                                                    <asp:Button ID="DeleteTransactionButton" CssClass="btn-search btn fas" runat="Server" Text="Delete Transaction" CommandName="DeleteTransaction" OnClick="DeleteTransactionButton_Click" Height="20PX" />
                                                                </ItemTemplate>
                                                            </asp:TemplateField>

                                                        </Columns>
                                                        <PagerSettings Visible="False" />
                                                    </asp:GridView>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </asp:Panel>
                        </div>
                    </div>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <cc1:ModalPopupExtender ID="ViewTransactionModalPopupExtender" runat="server" TargetControlID="HidenButton" PopupControlID="ModalPopUpPanel" BackgroundCssClass="modalBackground"
        Drag="True" PopupDragHandleControlID="dragPanel" Enabled="True" />
    <asp:LinkButton runat="server" ID="HidenButton" meta:resourcekey="HidenButtonResource1" />

    <asp:Panel ID="ModalPopUpPanel" runat="server" CssClass="dragControl" Width="1000px" DefaultButton="HidenButton" meta:resourcekey="ModalPopUpPanelResource1">
        <div class="messagebox card card-box">
            <asp:Panel ID="dragPanel" runat="server" CssClass="dragMePanel" Width="100%" meta:resourcekey="dragPanelResource1">
                <div id="dragMe1" class="dragMe card-head" style="cursor: move">
                    <div class="himsPopupWireBox">
                        <div class="himsBoxTopper headerFont">
                            <div class="himsBoxTopper text-center headerFont card-head">
                                <div class="headerText">
                                    <asp:UpdatePanel ID="UpdatePanel3" runat="server" RenderMode="Inline">
                                        <ContentTemplate>
                                            <header>
                                                <asp:Label ID="DialogHeaderLabel" runat="server" meta:resourcekey="DialogHeaderLabelResource1" Text="Transaction Details"></asp:Label>
                                            </header>
                                            <span class="pull-right">
                                                <asp:ImageButton ID="ImageButtonClose" runat="server" Height="20PX" Width="20PX" ImageUrl="~/Images/closebox.png" OnClick="ImageButtonClose_Click" />
                                            </span>
                                        </ContentTemplate>
                                    </asp:UpdatePanel>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </asp:Panel>
            <asp:UpdatePanel ID="ViewTransactionUpdatePanel" runat="server"
                RenderMode="Inline">
                <ContentTemplate>

                    <div id="bodyContainer" class="card-body">
                        <div class="himsPopupWireBox">

                            <div class="himsBoxContentmain" style="overflow: hidden">
                                <div id="divContentPage1">
                                    <div class="spacer">
                                        <asp:Image ID="Image2" runat="server" ImageUrl="~/Images/spacer.gif"
                                            meta:resourcekey="Image1Resource1" />
                                    </div>
                                    <div>
                                        <div class="himssuHeader5WireBox">
                                            <div class="himsBoxHeader">
                                                <div class="himsBoxHeader card-head">
                                                    <asp:Panel ID="ViewTransactionHeaderPanel" runat="server" meta:resourcekey="ViewTransactionPanelResource1">
                                                        <div class="leftdiv">
                                                        </div>
                                                        <div>
                                                            <div class="headerText">
                                                                <header>
                                                                    <asp:Label ID="ViewTransactionLabel" runat="server" Text="Transaction Detail"></asp:Label>
                                                                </header>
                                                            </div>
                                                        </div>
                                                    </asp:Panel>
                                                </div>
                                            </div>
                                            <div class="himsBoxContent col-md-12">
                                                <asp:Panel ID="TransactionDetailPanel" runat="server">
                                                    <div class="contentHolder">
                                                        <div id="StudentDetailDiv" runat="server">
                                                            <div class="himsBoxHeader  card-head inner" id="Div1" runat="server" visible="True">
                                                                <div class="leftdiv">
                                                                </div>
                                                                <div class="himsBoxTitle">
                                                                    <div class="headerText fLeft">
                                                                        <header>
                                                                            <asp:Label ID="StudentDetailLabel" Text="Student Details" runat="server" />
                                                                        </header>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="pTop5 col-md-6 controlLabelWidth">
                                                                <asp:Label ID="Label" runat="server" Text="Student Name : "></asp:Label>
                                                                <asp:Label ID="StudentNameLabel" runat="server"></asp:Label>
                                                            </div>
                                                            <div class="pTop5 col-md-6 controlLabelWidth">
                                                                <asp:Label ID="Label2" runat="server" Text="Academic Year : "></asp:Label>
                                                                <asp:Label ID="AcademicYearLabel" runat="server"></asp:Label>
                                                            </div>
                                                            <div class="pTop5 col-md-6 controlLabelWidth">
                                                                <asp:Label ID="Label3" runat="server" Text="Class-Div : "></asp:Label>
                                                                <asp:Label ID="ClassDivisionLabel" runat="server"></asp:Label>
                                                            </div>
                                                            <div class="pTop5 col-md-6 controlLabelWidth">
                                                                <asp:Label ID="Label4" runat="server" Text="Id No : "></asp:Label>
                                                                <asp:Label ID="IdNumberLabel" runat="server"></asp:Label>
                                                            </div>
                                                            <div class="pTop5 col-md-6 controlLabelWidth">
                                                                <asp:Label ID="Label5" runat="server" Text="Roll No : "></asp:Label>
                                                                <asp:Label ID="RollNoLabel" runat="server"></asp:Label>
                                                            </div>
                                                            <div class="pTop5 col-md-6 controlLabelWidth">
                                                                <asp:Label ID="Label6" runat="server" Text="Functionality : "></asp:Label>
                                                                <asp:Label ID="FunctionalityLabel" runat="server"></asp:Label>
                                                            </div>
                                                            <div class="pTop5 col-md-6 controlLabelWidth">
                                                                <asp:Label ID="Label7" runat="server" Text="Primary Email : "></asp:Label>
                                                                <asp:Label ID="PrimaryEmailLabel" runat="server"></asp:Label>
                                                            </div>
                                                            <div class="pTop5 col-md-6 controlLabelWidth">
                                                                <asp:Label ID="Label8" runat="server" Text="Primary SMS : "></asp:Label>
                                                                <asp:Label ID="PrimarySMSLabel" runat="server"></asp:Label>
                                                            </div>
                                                        </div>
                                                        <div id="TransactionDetailDiv" runat="server">
                                                            <div class="himsBoxHeader  card-head inner" id="Div7" runat="server" visible="True">
                                                                <div class="leftdiv">
                                                                </div>
                                                                <div class="himsBoxTitle">
                                                                    <div class="headerText fLeft">
                                                                        <header>
                                                                            <asp:Label ID="TransactionDetailLabel" Text="Transaction Details" runat="server" />
                                                                        </header>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="pTop5 col-md-6 controlLabelWidth">
                                                                <asp:Label ID="Label9" runat="server" Text="Payment Gateway : "></asp:Label>
                                                                <asp:Label ID="PaymentGatewayLabel" runat="server"></asp:Label>
                                                            </div>
                                                            <div class="pTop5 col-md-6 controlLabelWidth">
                                                                <asp:Label ID="Label11" runat="server" Text="Transaction OS Type : "></asp:Label>
                                                                <asp:Label ID="TransactionOsTypeLabel" runat="server"></asp:Label>
                                                            </div>
                                                            <div class="pTop5 col-md-6 controlLabelWidth">
                                                                <asp:Label ID="Label13" runat="server" Text="TransactionId : "></asp:Label>
                                                                <asp:Label ID="TransactionIdLabel" runat="server"></asp:Label>
                                                            </div>
                                                            <div class="pTop5 col-md-6 controlLabelWidth">
                                                                <asp:Label ID="Label15" runat="server" Text="Transaction Date Time : "></asp:Label>
                                                                <asp:Label ID="TransactionDateTimeLabel" runat="server"></asp:Label>
                                                            </div>
                                                            <div class="pTop5 col-md-6 controlLabelWidth">
                                                                <asp:Label ID="Label17" runat="server" Text="Transaction Amount : "></asp:Label>
                                                                <asp:Label ID="TransactionAmountLabel" runat="server"></asp:Label>
                                                            </div>
                                                            <div class="pTop5 col-md-6 controlLabelWidth">
                                                                <asp:Label ID="Label19" runat="server" Text="Bank Transaction Id : "></asp:Label>
                                                                <asp:Label ID="BankTransactionIdLabel" runat="server"></asp:Label>
                                                            </div>
                                                            <div class="pTop5 col-md-6 controlLabelWidth">
                                                                <asp:Label ID="Label21" runat="server" Text="Transaction Status : "></asp:Label>
                                                                <asp:Label ID="StatusLabel" runat="server"></asp:Label>
                                                            </div>
                                                            <div class="pTop5 col-md-6 controlLabelWidth" id="ReceiptNumberDiv" runat="server" visible="false">
                                                                <asp:Label ID="Label10" runat="server" Text="Receipt Number : "></asp:Label>
                                                                <asp:Label ID="ReceiptNumberLabel" runat="server"></asp:Label>
                                                            </div>
                                                        </div>
                                                        <div id="FeeDetailDiv" runat="server">
                                                            <div class="himsBoxHeader  card-head inner" id="Div8" runat="server" visible="True">
                                                                <div class="leftdiv">
                                                                </div>
                                                                <div class="himsBoxTitle">
                                                                    <div class="headerText fLeft">
                                                                        <header>
                                                                            <asp:Label ID="FeeDetailLabel" Text="Fee Details" runat="server" />
                                                                        </header>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="himsBoxContent col-md-12">
                                                                <asp:Panel ID="Panel2" runat="server" meta:resourcekey="DetailPanelResource1">
                                                                    <div class="contentHolder table-responsive">
                                                                        <asp:Panel ID="Panel3" runat="server" meta:resourcekey="SearchCriteriaPanelResource1">
                                                                            <div class="contentHolder">
                                                                                <asp:UpdatePanel ID="FeeDetailUpdatePanel" runat="server" UpdateMode="Always">
                                                                                    <ContentTemplate>
                                                                                        <div id="Div13" runat="server" visible="True">
                                                                                            <div id="Div14" runat="server" class="table-responsive">
                                                                                                <div class="col-md-12">
                                                                                                    <asp:GridView ID="FeeDetailgridview" runat="server" Width="50%" AutoGenerateColumns="False"
                                                                                                        CssClass="table table-striped table-bordered table-hover"
                                                                                                        AllowPaging="false" SkinID="" ShowHeader="True"
                                                                                                        EmptyDataText="No Records Available">
                                                                                                        <Columns>
                                                                                                            <asp:TemplateField HeaderText="Fee" ItemStyle-Width="50%" ItemStyle-Wrap="true" HeaderStyle-HorizontalAlign="Left">
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="FeeLabel" CssClass="boxEllips" runat="server"
                                                                                                                        Text='<%# Bind("Fee") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                            <asp:TemplateField HeaderStyle-HorizontalAlign="Center" HeaderText="Amount" ItemStyle-Width="50%">
                                                                                                                <ItemStyle HorizontalAlign="Center" />
                                                                                                                <ItemTemplate>
                                                                                                                    <asp:Label ID="AmountLabel" runat="server" Text='<%#Eval("Amount") %>'></asp:Label>
                                                                                                                </ItemTemplate>
                                                                                                            </asp:TemplateField>
                                                                                                        </Columns>
                                                                                                    </asp:GridView>
                                                                                                </div>
                                                                                            </div>
                                                                                        </div>
                                                                                    </ContentTemplate>
                                                                                </asp:UpdatePanel>
                                                                            </div>
                                                                        </asp:Panel>
                                                                    </div>
                                                                </asp:Panel>
                                                            </div>
                                                        </div>
                                                         
                                                    </div>
                                                </asp:Panel>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="himsmainBoxBottom">
                            </div>
                            <div class="himsmainBoxFooter">
                                <div>
                                    <table>
                                        <tr>
                                            <td>&nbsp
                                            </td>
                                        </tr>

                                    </table>
                                </div>
                            </div>

                        </div>
                    </div>

                    <asp:UpdateProgress ID="MainUpdateProgress" runat="server" DisplayAfter="200">
                        <ProgressTemplate>
                            <div style="position: absolute; top: 50%; left: 45%; font-size: 20px">
                                <asp:Image ID="LoadingImage4" runat="server" ImageUrl="~/Images/Loading.gif"
                                    meta:resourcekey="Image3Resource1" />
                            </div>
                        </ProgressTemplate>
                    </asp:UpdateProgress>
                </ContentTemplate>
            </asp:UpdatePanel>
        </div>
    </asp:Panel>
    <%--<script data-main="../../JavaScript/rjs/encrypt/payment-transaction-encrypt" src="../../JavaScript/rjs/require.js"></script>--%>
    <script data-main='<%=ResolveUrl("~/JavaScript/rjs/payment-transaction")%>' src='<%=ResolveUrl("~/JavaScript/rjs/require.js")%>'></script>

    <%--mantis: 40910--%>
    <script type="text/javascript">
        function RedirectToMigration(OnlinePaymentUrl) {
            var newTab = window.open(OnlinePaymentUrl, '_blank');
            window.location.href = '../../../Pages/BaseFramework/MyDashBoard.aspx';
        }
    </script>
</asp:Content>
