<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/Main.master" AutoEventWireup="true"
	CodeFile="TSearchB24.aspx.cs" Inherits="TSearchB24" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
	<!-- DataTables -->
	<link rel="stylesheet" href="../plugins/datatables-bs4/css/dataTables.bootstrap4.min.css">
	<link rel="stylesheet" href="../plugins/datatables-responsive/css/responsive.bootstrap4.min.css">
	<link rel="stylesheet" href="../plugins/datatables-buttons/css/buttons.bootstrap4.min.css">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
	<asp:ScriptManager ID="ScriptManager1" runat="server">
	</asp:ScriptManager>
	<!-- Content Wrapper. Contains page content -->
	<div class="content-wrapper">
		<!-- Content Header (Page header) -->
	<section class="content-header">
	  <div class="container-fluid">
		<div class="row mb-2">
		  <div class="col-sm-6">
			<h1>Transactions Search</h1>
		  </div>
		  <div class="col-sm-6">
			<ol class="breadcrumb float-sm-right">
			  <li class="breadcrumb-item"><a href="#">Home</a></li>
			  <li class="breadcrumb-item active">Search</li>
			  <li class="breadcrumb-item active">Transaction Search</li>
			</ol>
		  </div>
		</div>
	  </div><!-- /.container-fluid -->
	</section>
		<!-- /.content-header -->
		<!-- Main content -->
	<section class="content">
	    <div class="container-fluid">
        <div class="card card-warning">
              <%--<div class="card-header">
                <h3 class="card-title">Search Filters</h3>
              </div>--%>
              <!-- /.card-header -->
              <div class="card-body">
                  <div class="row">
                    <div class="col-sm-4">
                      <!-- text input -->
                      <div class="form-group">
                        <label>Terminal ID</label>
                        <asp:TextBox ID="txtTerminal" runat="server" class="form-control" ></asp:TextBox>
                      </div>
                    </div>
                    <div class="col-sm-4">
                      <div class="form-group">
                        <label>Event</label>
                        <asp:DropDownList ID="ddlEvents" AutoPostBack="true" runat="server" DataTextField="evant_name" 
                                                            DataValueField="re_code" class="form-control select" 
                                                             onselectedindexchanged="ddlEvents_SelectedIndexChanged">
                                                        </asp:DropDownList>
                      </div>
                    </div>
                    <div class="col-sm-4">
                      <div class="form-group">
                        <label>Card Number</label>
                        <asp:TextBox ID="txtCardNo"  runat="server" class="form-control" ></asp:TextBox>
                      </div>
                    </div>
                    <div class="col-sm-4">
                      <div class="form-group">
                        <label>Tokenized Card Number</label>
                        <asp:TextBox ID="txtTCardNumber"  runat="server" class="form-control" ></asp:TextBox>
                      </div>
                    </div>
                    <div class="col-sm-4">
                      <div class="form-group">
                        <label>Reference Number</label>
                         <asp:TextBox ID="txtReferenceNumber"  runat="server" class="form-control" ></asp:TextBox>
                      </div>
                    </div>
                    <div class="col-sm-4">
                      <div class="form-group">
                        <label>Issuer</label>
                        <asp:DropDownList ID="ddlIssuer" runat="server" DataTextField="display" 
                                                             DataValueField="bin" class="form-control select" AutoPostBack="True" 
                                                            onselectedindexchanged="ddlAcquirer_SelectedIndexChanged" >
                                                        </asp:DropDownList>
                      </div>
                    </div>
                    <div class="col-sm-4">
                      <div class="form-group">
                        <label>Acquirer</label>
                        <asp:DropDownList ID="ddlAcquirer" runat="server" DataTextField="display" 
                                                             DataValueField="bin" class="form-control select">
                                                        </asp:DropDownList>
                      </div>
                    </div>
                      <div class="col-sm-4">
                          <!-- textarea -->
                          <div class="form-group">
                              <label>Date</label>

                              <div class="input-group">
                                  <div class="input-group-prepend">
                                      <span class="input-group-text">
                                          <i class="far fa-calendar-alt"></i>
                                      </span>
                                  </div>
                                  <asp:TextBox ID="txtDate" data-target="#reservationdate" runat="server" class="form-control float-right"></asp:TextBox>
                              </div>
                              <!-- /.input group -->
                          </div>
                      </div>
                    <div class="col-sm-2">
                      <div class="form-group">
                        <label>From Time (hh:mm:ss)</label>
                        <asp:TextBox ID="TextBoxFrom"  runat="server" class="form-control" ></asp:TextBox>
                      </div>
                    </div>
                    <div class="col-sm-2">
                      <div class="form-group">
                        <label>To Time (hh:mm:ss)</label>
                        <asp:TextBox ID="TextBoxTo"  runat="server" class="form-control" ></asp:TextBox>
                      </div>
                    </div>
                    <div class="col-sm-4" runat ="server" id="trAcct">
                      <div class="form-group">
                        <label>Account Number</label>
                        <asp:TextBox ID="txtAccount"  runat="server" class="form-control" ></asp:TextBox>
                      </div>
                    </div>
                  </div>
                  <div class="row">
                      <div class="col-12" style="text-align: center">
                          <asp:Button ID="btnSearch" runat="server" Text="Search" OnClick="btnSearch_Click" CssClass="btn btn-primary btn-l" />
                      </div>
                  </div>
              </div>
              <!-- /.card-body -->
            </div>
		<!-- Default box -->
		<div id="SR_Master" class="card card-info color-palette-box" visible="false" runat="server">
			<div class="card-header">
				<h3 class="card-title">
                    <i class="fas fa-tag"></i>
                    Search Results (Master)
                </h3>

				<div class="card-tools">
					<button type="button" class="btn btn-tool" data-card-widget="collapse" title="Collapse">
						<i class="fas fa-minus"></i>
					</button>
					</div>
			</div>
            <div class="card-body">
                <div style="width: 100%; display: inline-block; vertical-align: top; overflow-x: auto;">
                    <asp:GridView ID="GridView1" class="table table-striped table-bordered table-sm" runat="server" AutoGenerateColumns="False" OnPreRender="GridView1_PreRender"
                        DataKeyNames="mt_code" OnRowCommand="GridView1_RowCommand" EmptyDataText="There are no results">
                        <Columns>
                            <asp:BoundField DataField="TRAN_DATE" HeaderText="Tran&nbsp;Date" />
                            <asp:BoundField DataField="TRAN_TIME" HeaderText="Tran&nbsp;Time" />
                            <asp:BoundField DataField="msg_type" HeaderText="Tran&nbsp;Type" />
                            <asp:BoundField DataField="CARD_NUMBER" HeaderText="Card&nbsp;Number" />
                            <asp:BoundField DataField="FINANCIAL_FLAG" HeaderText="Financial&nbsp;Flag" />
                            <asp:BoundField DataField="TERM_ID" HeaderText="Term&nbsp;ID" />
                            <asp:BoundField DataField="TRAN_SOURCE" HeaderText="Acquirer" />
                            <asp:BoundField DataField="TRAN_DEST" HeaderText="Issuer" />
                            <asp:BoundField DataField="RRN" HeaderText="Reference&nbsp;No" />
                            <asp:BoundField DataField="PRODUCT" HeaderText="Product" />
                            <asp:BoundField DataField="TRAN_AMOUNT" HeaderText="Amount" />
                            <asp:BoundField DataField="SETTL_AMOUNT" HeaderText="Settl&nbsp;Amount" />
                            <asp:BoundField DataField="SETTL_CURR" HeaderText="Settl&nbsp;Currency" />
                            <asp:BoundField DataField="TRAN_CURR" HeaderText="Tran&nbsp;Currency" />
                            <asp:BoundField DataField="Pcode_Type" HeaderText="Pcode&nbsp;Type" />
                            <asp:BoundField DataField="b24_rsp" HeaderText="Response" />
                            <asp:TemplateField HeaderText="Actions" Visible="true">
                                <ItemTemplate>
                                    <button type="button" class="btn btn-default btn-block btn-xs dropdown-toggle" data-toggle="dropdown">
                                        Action
                                    </button>
                                    <div class="dropdown-menu">
                                        <a class="dropdown-item" href="#">
                                            <asp:Button ID="Button5" CssClass="btn btn-outline-info btn-block btn-sm" runat="server" Text="Details" CommandName="v" CommandArgument="<%# ((GridViewRow) Container).RowIndex %>" /></a>
                                    </div>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                    </asp:GridView>
                </div>
                <div class="row" style="margin-left: 1%; margin-top: 1%; margin-bottom: 1%">
                      <div style="margin-top:3px;"><asp:Label ID="LGTP" runat="server" Text="Go To Page"></asp:Label>&nbsp;: &nbsp;</div>
                      <asp:DropDownList ID="ddlPages" runat="server" class="form-control select2" AutoPostBack="True" Width="7%" Height="6%" OnSelectedIndexChanged="ddlPages_SelectedIndexChanged"></asp:DropDownList>
                </div>
            </div>
					
			<!-- /.card-body -->
		</div>

        <div id="SR_Channel" class="card card-info color-palette-box" visible="false" runat="server">
			<div class="card-header">
				<h3 class="card-title">
                    <i class="fas fa-tag"></i>
                    Search Results (Channel)
                </h3>

				<div class="card-tools">
					<button type="button" class="btn btn-tool" data-card-widget="collapse" title="Collapse">
						<i class="fas fa-minus"></i>
					</button>
					</div>
			</div>
            <div class="card-body">
                <div style="width: 100%; display: inline-block; vertical-align: top; overflow-x: auto;">
                    <asp:GridView ID="gvChannel" class="table table-striped table-bordered table-sm" runat="server" AutoGenerateColumns="False" OnPreRender="gvChannel_PreRender"
                        DataKeyNames="ct_code" OnRowCommand="gvChannel_RowCommand" EmptyDataText="There are no results">
                        <Columns>
                            <asp:BoundField DataField="channel_name" HeaderText="Channel" />
                            <asp:BoundField DataField="TRAN_DATE" HeaderText="Tran&nbsp;Date" />
                            <asp:BoundField DataField="TRAN_TIME" HeaderText="Tran&nbsp;Time" />
                            <asp:BoundField DataField="msg_type" HeaderText="Tran&nbsp;Type" />
                            <asp:BoundField DataField="CARD_NUMBER" HeaderText="Card&nbsp;Number" />
                            <asp:BoundField DataField="FINANCIAL_FLAG" HeaderText="Financial&nbsp;Flag" />
                            <asp:BoundField DataField="TERM_ID" HeaderText="Term&nbsp;ID" />
                            <asp:BoundField DataField="TRAN_SOURCE" HeaderText="Acquirer" />
                            <asp:BoundField DataField="TRAN_DEST" HeaderText="Issuer" />
                            <asp:BoundField DataField="PRODUCT" HeaderText="Product" />
                            <asp:BoundField DataField="TRAN_AMOUNT" HeaderText="Amount" />
                            <asp:BoundField DataField="TRAN_CURR" HeaderText="Tran&nbsp;Curr" />

                            <asp:TemplateField HeaderText="Actions" Visible="true">
                                <ItemTemplate>
                                    <button type="button" class="btn btn-default btn-block btn-xs dropdown-toggle" data-toggle="dropdown">
                                        Action
                                    </button>
                                    <div class="dropdown-menu">
                                        <a class="dropdown-item" href="#">
                                            <asp:Button ID="Button5" CssClass="btn btn-outline-info btn-block btn-sm" runat="server" Text="Details" CommandName="v" CommandArgument="<%# ((GridViewRow) Container).RowIndex %>" /></a>
                                    </div>
                                </ItemTemplate>
                            </asp:TemplateField>

                        </Columns>
                    </asp:GridView>
                </div>
                <div class="row" style="margin-left: 1%; margin-top: 1%; margin-bottom: 1%">
                    <div style="margin-top: 3px;">
                        <asp:Label ID="Label66" runat="server" Text="Go To Page"></asp:Label>&nbsp;: &nbsp;</div>
                    <asp:DropDownList ID="ddlPages2" runat="server" class="form-control select2" AutoPostBack="True" Width="7%" Height="6%" OnSelectedIndexChanged="ddlPages2_SelectedIndexChanged"></asp:DropDownList>
                </div>
            </div>
					
			<!-- /.card-body -->
		</div>
        <!-- /.card -->
		<div class="row">
			<div class="modal fade" id="modal-xl">
		   
				<div class="modal-dialog modal-xl" style="max-width: max-content;">
					<div class="modal-content">
					<div class="modal-header">
						<h4 class="modal-title">Transaction Details</h4>
						<button type="button" class="close" data-dismiss="modal" aria-label="Close">
						<span aria-hidden="true">&times;</span>
						</button>
					</div>
					<div class="modal-body">
							
						<div class="card-body">
							<table border="0" cellpadding="0" cellspacing="0" class="add_ItemTB1">
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Transaction date
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label1" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                            &nbsp;
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            Transaction time
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label2" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Card number
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label3" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                            &nbsp;
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            Terminal ID
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label4" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Tokenized Card number
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="lblTCardNumber" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                            &nbsp;
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Transaction amount
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label5" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                            &nbsp;
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            Transaction currency
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label6" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            PCode
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label7" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                            &nbsp;
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            Reference number
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label8" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Acquirer
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label9" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                            &nbsp;
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            Issuer
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label10" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Message Type
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label11" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                            &nbsp;
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            Reconciliation status
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label12" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Merchant Paid?
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label13" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                            &nbsp;
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            Trace ID
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label14" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            B24 response
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label15" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                            &nbsp;
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            Card brand
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label16" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Card expiry date
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label17" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                            &nbsp;
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            Account number
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label18" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Authorization code
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label19" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                            &nbsp;
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            Business class
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label20" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Transaction status
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label21" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                            &nbsp;
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            Settlement currency
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label22" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Settlement amount
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label23" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                            &nbsp;
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            Transaction change
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label24" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Event
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label25" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                            &nbsp;
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            Product
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label26" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Original sequence number
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label27" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                            &nbsp;
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            Original date
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label28" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Amount 2
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label29" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                            &nbsp;
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            Amount 3
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label30" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Authenticate amount
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label31" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                            &nbsp;
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Match Criteria
                                        </td>
                                        <td class="tdNormal" colspan="4">
                                            <asp:GridView ID="GridView2" CssClass="gridMaster" Width ="100%" runat="server" AutoGenerateColumns="False"
                                                 CellPadding="4" 
                                                ForeColor="#333333" GridLines="None"  
                                                 EmptyDataText="There are no results">
                                                <Columns>
                                                    <asp:BoundField DataField="channel_name" HeaderText="Channel Name" />
                                                    <asp:BoundField DataField="mresult" HeaderText="Match Result" />
                                                </Columns>
                                            </asp:GridView>
                                        </td>
                                    </tr>
                                </table>
								  
						</div>
						<!-- /.card-body -->

							  
					</div>
					<div class="modal-footer justify-content-between">
						<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
					</div>
					</div>
					<!-- /.modal-content -->
				</div>
				<!-- /.modal-dialog -->
			  
				</div>
                
				<!-- /.modal -->
		</div>
        <div class="row">
			<div class="modal fade" id="modal-xlc">
		   
				<div class="modal-dialog modal-xl" style="max-width: max-content;">
					<div class="modal-content">
					<div class="modal-header">
						<h4 class="modal-title">Transaction Details</h4>
						<button type="button" class="close" data-dismiss="modal" aria-label="Close">
						<span aria-hidden="true">&times;</span>
						</button>
					</div>
					<div class="modal-body">
							
						<div class="card-body">
							<table border="0" cellpadding="0" cellspacing="0" class="add_ItemTB1">
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Record date
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label32" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                            &nbsp;
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            Settlement date
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label33" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Transaction date
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label34" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                            &nbsp;
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            Transaction time
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label35" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Card number
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label36" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                            &nbsp;
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            ISO response
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label37" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Tokenized Card number
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="lblTCardNumberC" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                            &nbsp;
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Terminal ID
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label38" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                            &nbsp;
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            Transaction amount
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label39" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Acquirer
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label40" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                            &nbsp;
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            Issuer
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label41" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Message type
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label42" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                            &nbsp;
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            Trace ID
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label43" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            File number
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label44" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                            &nbsp;
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            Card brand
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label45" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Reference number
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label46" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                            &nbsp;
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            Card expiry date
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label47" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Account number
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label48" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                            &nbsp;
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            Auth code
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label49" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Business class
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label50" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                            &nbsp;
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            Recon status
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label51" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Transaction currency
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label52" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                            &nbsp;
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            Settlement currency
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label53" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Settlement amount
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label54" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                            &nbsp;
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            Transaction change
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label55" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Match result
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label56" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                            &nbsp;
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            Chip index
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label57" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Channel name
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label58" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                            &nbsp;
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            Event name
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label59" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            PCODE
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label60" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                            &nbsp;
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            Financial flag
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label61" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            product
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label62" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                            &nbsp;
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            Message reason code
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label63" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Settlment flag
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label64" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                            &nbsp;
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            HOST indicator
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="Label65" runat="server" Text="Label" Font-Bold="True"></asp:Label>
                                            <td>
                                    </tr>
                                </table>
								  
						</div>
						<!-- /.card-body -->

							  
					</div>
					<div class="modal-footer justify-content-between">
						<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
					</div>
					</div>
					<!-- /.modal-content -->
				</div>
				<!-- /.modal-dialog -->
			  
				</div>
                
				<!-- /.modal -->
		</div>
	</div><!-- /.container-fluid -->
	</section>
		<!-- /.content -->
	</div>
	<!-- Toastr -->
	<!-- jQuery -->
	<script src="../plugins/jquery/jquery.min.js"></script>
	<!-- Bootstrap 4 -->
	<script src="../plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
	<!-- SweetAlert2 -->
	<script src="../plugins/sweetalert2/sweetalert2.min.js"></script>
	<!-- Toastr -->
	<script src="../plugins/toastr/toastr.min.js"></script>
	<!-- AdminLTE App -->
	<script src=".../dist/js/adminlte.min.js"></script>
	<!-- AdminLTE for demo purposes -->
	<script src="../plugins/datatables-buttons/js/dataTables.buttons.min.js"></script>
	<script src="../plugins/datatables/jquery.dataTables.min.js"></script>
	<script src="../plugins/datatables-bs4/js/dataTables.bootstrap4.min.js"></script>
	<script src="../plugins/datatables-responsive/js/dataTables.responsive.min.js"></script>
	<script src="../plugins/datatables-responsive/js/responsive.bootstrap4.min.js"></script>
	<script src="../plugins/datatables-buttons/js/dataTables.buttons.min.js"></script>
	<script src="../plugins/datatables-buttons/js/buttons.bootstrap4.min.js"></script>
	<script src="../plugins/jszip/jszip.min.js"></script>
	<script src="../plugins/pdfmake/pdfmake.min.js"></script>
	<script src="../plugins/pdfmake/vfs_fonts.js"></script>
	<script src="../plugins/datatables-buttons/js/buttons.html5.min.js"></script>
	<script src="../plugins/datatables-buttons/js/buttons.print.min.js"></script>
	<script src="../plugins/datatables-buttons/js/buttons.colVis.min.js"></script>
    <script src="../plugins/tempusdominus-bootstrap-4/js/tempusdominus-bootstrap-4.min.js"></script>
	<!-- AdminLTE App -->
	<script src="../dist/js/adminlte.min.js"></script>
	<!-- AdminLTE for demo purposes -->
	<script src="../dist/js/demo.js"></script>
    <script src="../plugins/select2/js/select2.full.min.js"></script>
    <!-- Bootstrap4 Duallistbox -->
    <script src="../plugins/bootstrap4-duallistbox/jquery.bootstrap-duallistbox.min.js"></script>
    <!-- InputMask -->
    <script src="../plugins/moment/moment.min.js"></script>
    <script src="../plugins/inputmask/jquery.inputmask.min.js"></script>
    <!-- date-range-picker -->
    <script src="../plugins/daterangepicker/daterangepicker.js"></script>
    <!-- bootstrap color picker -->
    <script src="../plugins/bootstrap-colorpicker/js/bootstrap-colorpicker.min.js"></script>
    <!-- Tempusdominus Bootstrap 4 -->
    <script src="../plugins/tempusdominus-bootstrap-4/js/tempusdominus-bootstrap-4.min.js"></script>
    <!-- Bootstrap Switch -->
    <script src="../plugins/bootstrap-switch/js/bootstrap-switch.min.js"></script>
    <!-- BS-Stepper -->
    <script src="../plugins/bs-stepper/js/bs-stepper.min.js"></script>
    <!-- dropzonejs -->
    <script src="../plugins/dropzone/min/dropzone.min.js"></script>
    <!-- AdminLTE App -->
	<script>

	    $(function () {

	        $('#ContentPlaceHolder1_GridView1').DataTable({
	            "responsive": true, "lengthChange": false, "autoWidth": false,
	            "buttons": ["copy", "csv", "excel", "pdf", "print", "colvis"]
	        }).buttons().container().appendTo('#example1_wrapper .col-md-6:eq(0)');

	        //Date picker
	        $('#reservationdate').daterangepicker();
//	        $('#ctl00_ContentPlaceHolder1_reservation').daterangepicker()({
//	            format: 'DD/MM/YYYY - DD/MM/YYYY'
//	        });
	        $('#ctl00_ContentPlaceHolder1_txtDate').daterangepicker({
	            locale: {
	                format: 'DD/MM/YYYY'
	            }
	        })
	        
	        //		    $('#reservationdate').datetimepicker({
	        //		        format: 'DD/MM/YYYY'
	        //		    });

	        //        $('#ContentPlaceHolder1_GridView1').DataTable({
	        //            "responsive": true, "lengthChange": false, "autoWidth": false,
	        //            "buttons": ["copy", "csv", "excel", "pdf", "print", "colvis"]
	        //        }).buttons().container().appendTo('#example1_wrapper .col-md-6:eq(0)');

	        //        $('#ContentPlaceHolder1_gvChannel').DataTable({
	        //            "responsive": true, "lengthChange": false, "autoWidth": false,
	        //            "buttons": ["copy", "csv", "excel", "pdf", "print", "colvis"]
	        //        }).buttons().container().appendTo('#example1_wrapper .col-md-6:eq(0)');

	        //        $('#ContentPlaceHolder1_gvEJ').DataTable({
	        //            "responsive": true, "lengthChange": false, "autoWidth": false,
	        //            "buttons": ["copy", "csv", "excel", "pdf", "print", "colvis"]
	        //        }).buttons().container().appendTo('#example1_wrapper .col-md-6:eq(0)');
	    });
</script>
</asp:Content>
