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

<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">

    <!-- Radio Button style -->
    <link rel="stylesheet" href="../css/custom_radio1.css">

    <style type="text/css">
        .header-center {
            text-align: center;
        }
    </style>
</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>Recon Results</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">Reconciliation</li>
			  <li class="breadcrumb-item active">Recon Results</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>Channel</label>
                            <asp:DropDownList ID="ddlChannels" runat="server" DataTextField="channel_name"
                                DataValueField="rc_code" class="form-control select2" AutoPostBack="True"
                                OnSelectedIndexChanged="ddlChannels_SelectedIndexChanged">
                            </asp:DropDownList>
                        </div>
                    </div>
                    <div class="col-sm-4">
                        <div class="form-group">
                            <label>Event</label>
                            <asp:DropDownList ID="ddlEvents" runat="server" DataTextField="evant_name"
                                DataValueField="re_code" class="form-control select2">
                            </asp:DropDownList>

                        </div>
                    </div>
                    <div class="col-sm-4">
                        <div class="form-group">
                            <label>Transaction Type</label>
                            <asp:DropDownList ID="ddl_tranType" runat="server"
                                AutoPostBack="true" class="form-control select2"
                                OnSelectedIndexChanged="ddl_tranType_SelectedIndexChanged">
                                <asp:ListItem Value="ALL">All</asp:ListItem>
                                <asp:ListItem Value="CR">Credit</asp:ListItem>
                                <asp:ListItem Value="DR">Debit</asp:ListItem>
                            </asp:DropDownList>
                        </div>
                    </div>
                    <div class="col-sm-8 radio radio-primary">
                        <label>Type</label><br />
                        <asp:RadioButton ID="RadioButton1" runat="server" Checked="True" GroupName="non" Text="Exist in Channel Not in Switch" ToolTip="Exist in Channel Not in Switch" />&nbsp;&nbsp;&nbsp;
                        <asp:RadioButton ID="RadioButton2" runat="server" GroupName="non" Text="Exist in Switch Not in channel" ToolTip="Exist in Switch Not in channel" />&nbsp;&nbsp;&nbsp;
                        <asp:RadioButton ID="RadioButton3" runat="server" GroupName="non" Text="Duplicated in Switch" ToolTip="Duplicated in Switch" visible="false"/>
                    </div>
                    <div class="col-sm-4">
                        <div class="form-group">
                            <label>Date</label>
                            <div class="input-group date" id="reservationdate" data-target-input="nearest">
                                <asp:TextBox ID="txtATMnumber" data-target="#reservationdate" runat="server" class="form-control datetimepicker-input"></asp:TextBox>
                                <div class="input-group-append" data-target="#reservationdate" data-toggle="datetimepicker">
                                    <div class="input-group-text"><i class="fa fa-calendar"></i></div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="col-12" style="text-align: center; margin-bottom: 1%">
                        <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 class="card card-info color-palette-box">
			<div class="card-header">
				<h3 class="card-title">
                    <i class="fas fa-tag"></i>
                    <b>Recon Results</b>
                </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" OnRowCommand="GridView1_RowCommand" AutoGenerateColumns="False" OnPreRender="GridView1_PreRender" DataKeyNames="ct_code" EmptyDataText="There are no results">
                        <Columns>
                            <asp:BoundField DataField="TRAN_DATE" HeaderText="Tran&nbsp;Date" HeaderStyle-CssClass="header-center" />
                            <asp:BoundField DataField="TRAN_TIME" HeaderText="Tran&nbsp;Time" HeaderStyle-CssClass="header-center" />
                            <asp:BoundField DataField="CARD_NUMBER" HeaderText="Card&nbsp;Number" HeaderStyle-CssClass="header-center" />
                            <asp:BoundField DataField="FINANCIAL_FLAG" HeaderText="Financial&nbsp;Flag" HeaderStyle-CssClass="header-center" />
                            <asp:BoundField DataField="TERM_ID" HeaderText="Term&nbsp;ID" HeaderStyle-CssClass="header-center" />
                            <asp:BoundField DataField="TRAN_AMOUNT" HeaderText="Amount" HeaderStyle-CssClass="header-center" />
                            <asp:BoundField DataField="TRAN_SOURCE" HeaderText="Tran&nbsp;Source" HeaderStyle-CssClass="header-center" />
                            <asp:BoundField DataField="TRAN_DEST" HeaderText="Tran&nbsp;Dest" HeaderStyle-CssClass="header-center" />
                            <asp:BoundField DataField="RRN" HeaderText="Reference&nbsp;No" HeaderStyle-CssClass="header-center" />
                            <asp:BoundField DataField="TRAN_CURR" HeaderText="Tran&nbsp;Currency" HeaderStyle-CssClass="header-center" />
                            <asp:BoundField DataField="Pcode_Type" HeaderText="Pcode&nbsp;Type" HeaderStyle-CssClass="header-center" />
                            <asp:TemplateField HeaderText="Actions" Visible="true" HeaderStyle-CssClass="header-center">
                                <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="btn_details1" CssClass="btn btn-outline-info btn-block btn-sm" runat="server" Text="Details" CommandName="v" CommandArgument="<%# ((GridViewRow) Container).RowIndex %>" /></a>
                                        <a class="dropdown-item" href="#">
                                            <asp:Button ID="btn_proposed1" CssClass="btn btn-outline-dark btn-block btn-sm" runat="server" Text="Proposed Trans" CommandName="f" CommandArgument="<%# ((GridViewRow) Container).RowIndex %>" Visible="false" /></a>
                                    </div>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                    </asp:GridView>
                </div>

                <div style="width: 100%; display: inline-block; vertical-align: top; overflow-x: auto;">
                    <asp:GridView ID="GridView2" class="table table-bordered table-hover" runat="server" AutoGenerateColumns="False" OnPreRender="GridView1_PreRender" DataKeyNames="mt_code" EmptyDataText="There are no results" OnRowCommand="GridView2_RowCommand">
                        <Columns>
                            <asp:BoundField DataField="TRAN_DATE" HeaderText="Tran&nbsp;Date" HeaderStyle-CssClass="header-center" />
                            <asp:BoundField DataField="TRAN_TIME" HeaderText="Tran&nbsp;Time" HeaderStyle-CssClass="header-center" />
                            <asp:BoundField DataField="CARD_NUMBER" HeaderText="Card&nbsp;Number" HeaderStyle-CssClass="header-center" />
                            <asp:BoundField DataField="FINANCIAL_FLAG" HeaderText="Financial&nbsp;Flag" HeaderStyle-CssClass="header-center" />
                            <asp:BoundField DataField="TERM_ID" HeaderText="Term&nbsp;ID" HeaderStyle-CssClass="header-center" />
                            <asp:BoundField DataField="TRAN_SOURCE" HeaderText="Tran&nbsp;Source" HeaderStyle-CssClass="header-center" />
                            <asp:BoundField DataField="TRAN_DEST" HeaderText="Tran&nbsp;Dest" HeaderStyle-CssClass="header-center" />
                            <asp:BoundField DataField="RRN" HeaderText="Reference&nbsp;No" HeaderStyle-CssClass="header-center" />
                            <asp:BoundField DataField="TRAN_AMOUNT" HeaderText="Amount" HeaderStyle-CssClass="header-center" />
                            <asp:BoundField DataField="TRAN_CURR" HeaderText="Tran&nbsp;Currency" HeaderStyle-CssClass="header-center" />
                            <asp:BoundField DataField="SETTL_AMOUNT" HeaderText="Settle&nbsp;Amount" HeaderStyle-CssClass="header-center" />
                            <asp:BoundField DataField="SETTL_CURR" HeaderText="Settle&nbsp;Currency" HeaderStyle-CssClass="header-center" />
                            <asp:BoundField DataField="Pcode_Type" HeaderText="Pcode&nbsp;Type" HeaderStyle-CssClass="header-center" />
                            <asp:TemplateField HeaderText="Actions" Visible="true" HeaderStyle-CssClass="header-center">
                                <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="btn_details2" CssClass="btn btn-outline-info btn-block btn-sm" runat="server" Text="Details" CommandName="v" CommandArgument="<%# ((GridViewRow) Container).RowIndex %>" /></a>
                                        <a class="dropdown-item" href="#">
                                            <asp:Button ID="btn_proposed2" CssClass="btn btn-outline-dark btn-block btn-sm" runat="server" Text="Proposed Trans" CommandName="f" CommandArgument="<%# ((GridViewRow) Container).RowIndex %>" Visible="false" /></a>
                                    </div>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                    </asp:GridView>
                </div>
            </div>
					
			<!-- /.card-body -->
		</div>
        <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%">
                                                Record date
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label1" runat="server" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Settlment Date
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label2" runat="server" 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="Label3" runat="server" 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="Label4" runat="server" 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="Label5" runat="server" 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="Label6" runat="server" Font-Bold="True"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Token Card number
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="tCardNumber" runat="server" 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="Label7" runat="server" 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="Label8" runat="server" Font-Bold="True"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Transaction source
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label9" runat="server" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Transaction destination
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label10" runat="server" 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" 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="Label12" runat="server" 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="Label13" runat="server" 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="Label14" runat="server" 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="Label15" runat="server" 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="Label16" runat="server" 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="Label17" runat="server" 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="Label18" runat="server" 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="Label19" runat="server" 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="Label20" runat="server" 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="Label21" runat="server" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Settlment currency
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label22" runat="server" Font-Bold="True"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Settlment amount
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="Label23" runat="server" 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" 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="Label25" runat="server" 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="Label26" runat="server" 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="Label27" runat="server" 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="Label28" runat="server" 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="Label29" runat="server" 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="Label30" runat="server" 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="Label31" runat="server" 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="Label32" runat="server" 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="Label33" runat="server" 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%">
                                                GL Account Number
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="lblGLAcct" runat="server" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                             <td class="tdNormal" style="width:15%">
                                            Finacle Value date</td>
                                        <td class="tdNormal" style="width:30%">
                                            <asp:Label ID="lblFinValDate" runat="server" Font-Bold="True" Text=""></asp:Label>
                                        </td>
                                        </tr>

                                          
                                    <tr>
                                       <td class="tdNormal" style="width:15%">
                                            Finacle Posting time</td>
                                        <td class="tdNormal" style="width:30%">
                                            <asp:Label ID="lblFinPostTime" runat="server" Font-Bold="True" Text=""></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width:10%">
                                            &nbsp;</td>
                                        <td class="tdNormal" style="width:15%">
                                            Finacle Posting date</td>
                                        <td class="tdNormal" style="width:30%">
                                            <asp:Label ID="lblFinPostDate" runat="server" Font-Bold="True" Text=""></asp:Label>
                                        </td>
                                    </tr>

                                    <tr>
                                       <td class="tdNormal" style="width:15%">
                                            Merchant Name</td>
                                        <td class="tdNormal" style="width:30%">
                                            <asp:Label ID="lblMerchantName" runat="server" Font-Bold="True" Text=""></asp:Label> </td>
                                        <td class="tdNormal" style="width:10%">
                                            &nbsp;</td>
                                       <td class="tdNormal" style="width:10%">
                                            &nbsp;</td>
                                       <td class="tdNormal" style="width:10%">
                                            &nbsp;</td>
                                    </tr>
                                    <tr>
                                        <td colspan=5>
                                        Proposed transactions<br />
                                        <asp:GridView ID="GridView5" class="table table-striped table-bordered table-sm" runat="server" OnRowCommand="GridView5_RowCommand" AutoGenerateColumns="False"  DataKeyNames="t_code" EmptyDataText="There are no results">
                                        <Columns>
                                            <asp:BoundField DataField="TRAN_DATE" HeaderText="Tran&nbsp;Date" HeaderStyle-CssClass="header-center" />
                                            <asp:BoundField DataField="TRAN_TIME" HeaderText="Tran&nbsp;Time" HeaderStyle-CssClass="header-center" />
                                            <asp:BoundField DataField="CARD_NUMBER" HeaderText="Card&nbsp;Number" HeaderStyle-CssClass="header-center" />
                                            <asp:BoundField DataField="FINANCIAL_FLAG" HeaderText="Financial&nbsp;Flag" HeaderStyle-CssClass="header-center" />
                                            <asp:BoundField DataField="TERM_ID" HeaderText="Term&nbsp;ID" HeaderStyle-CssClass="header-center" />
                                            <asp:BoundField DataField="TRAN_AMOUNT" HeaderText="Amount" HeaderStyle-CssClass="header-center" />
                                            <asp:BoundField DataField="TRAN_SOURCE" HeaderText="Tran&nbsp;Source" HeaderStyle-CssClass="header-center" />
                                            <asp:BoundField DataField="TRAN_DEST" HeaderText="Tran&nbsp;Dest" HeaderStyle-CssClass="header-center" />
                                            <asp:BoundField DataField="RRN" HeaderText="Reference&nbsp;No" HeaderStyle-CssClass="header-center" />
                                            <asp:BoundField DataField="TRAN_CURR" HeaderText="Tran&nbsp;Curr" HeaderStyle-CssClass="header-center" />
                                            <asp:BoundField DataField="product" HeaderText="Product" HeaderStyle-CssClass="header-center" />
                                            <asp:ButtonField ButtonType="Link" CommandName="f" Text="Force Match"  ControlStyle-CssClass="btn btn-outline-info btn-block btn-sm" />
                                            <asp:TemplateField HeaderText="Actions" Visible="true" HeaderStyle-CssClass="header-center">
                                                <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="btn_forcematch" CssClass="btn btn-outline-dark btn-block btn-sm" runat="server" Text="Force Match" CommandName="f" CommandArgument="<%# ((GridViewRow) Container).RowIndex %>" /></a>
                                                    </div>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                        </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>
                
                <div class="modal fade" id="modal-xl1">
		   
				<div class="modal-dialog modal-xl">
					<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="Label34" runat="server" Font-Bold="True"></asp:Label></td>
                                            <td class="tdNormal" style="width:10%">&nbsp;</td>
                                            <td class="tdNormal" style="width:15%">Settlment Date</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label35" runat="server" 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="Label36" runat="server" 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="Label37" runat="server" 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="Label38" runat="server" Font-Bold="True"></asp:Label></td>
                                            <td class="tdNormal" style="width:10%">&nbsp;</td>
                                            <td class="tdNormal" style="width:15%">PCODE</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label39" runat="server" Font-Bold="True"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">Token Card number</td>
                                            <td class="tdNormal" style="width: 30%"><asp:Label ID="tCardNumber1" runat="server" 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%">Financial flag </td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label40" runat="server" 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%"></td>
                                            <td class="tdNormal" style="width:30%"></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="Label43" runat="server" Font-Bold="True"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width:15%">Transaction amount</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label44" runat="server" Font-Bold="True"></asp:Label></td>
                                            <td class="tdNormal" style="width:10%">&nbsp;</td>
                                            <td class="tdNormal" style="width:15%">Transaction source</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label45" runat="server" Font-Bold="True"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width:15%">Transaction destination</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label46" runat="server" Font-Bold="True"></asp:Label></td>
                                            <td class="tdNormal" style="width:10%">&nbsp;</td>
                                            <td class="tdNormal" style="width:15%">Message type</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label47" runat="server" Font-Bold="True"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width:15%">Trace ID</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label48" runat="server" Font-Bold="True"></asp:Label></td>
                                            <td class="tdNormal" style="width:10%">&nbsp;</td>
                                            <td class="tdNormal" style="width:15%">File number</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label49" runat="server" Font-Bold="True"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width:15%">Card brand</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label50" runat="server" 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="Label51" runat="server" 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="Label52" runat="server" 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="Label53" runat="server" 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="Label54" runat="server" 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 status</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label56" runat="server" 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="Label57" runat="server" Font-Bold="True"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width:15%">Settlment Currency</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label58" runat="server" Font-Bold="True"></asp:Label></td>
                                            <td class="tdNormal" style="width:10%">&nbsp;</td>
                                            <td class="tdNormal" style="width:15%">Settlment amount</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label59" runat="server" Font-Bold="True"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width:15%">Transaction change</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label60" runat="server" Font-Bold="True"></asp:Label></td>
                                            <td class="tdNormal" style="width:10%">&nbsp;</td>
                                            <td class="tdNormal" style="width:15%">Recon required flag</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label61" runat="server" Font-Bold="True"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width:15%">recon performed flag</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label62" runat="server" Font-Bold="True"></asp:Label></td>
                                            <td class="tdNormal" style="width:10%">&nbsp;</td>
                                            <td class="tdNormal" style="width:15%">Match criteria</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label63" runat="server" Font-Bold="True"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width:15%">Match reference 1</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label64" runat="server" Font-Bold="True"></asp:Label></td>
                                            <td class="tdNormal" style="width:10%">&nbsp;</td>
                                            <td class="tdNormal" style="width:15%">Match reference 2</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label65" runat="server" Font-Bold="True"></asp:Label></td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width:15%">Match reference 3</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label66" runat="server" Font-Bold="True"></asp:Label></td>
                                            <td class="tdNormal" style="width:10%">&nbsp;</td>
                                            <td class="tdNormal" style="width:15%">Match reference 4</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label67" runat="server" Font-Bold="True"></asp:Label><td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width:15%">Match date 1</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label68" runat="server" Font-Bold="True"></asp:Label></td>
                                            <td class="tdNormal" style="width:10%">&nbsp;</td>
                                            <td class="tdNormal" style="width:15%">Match date 2</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label69" runat="server" Font-Bold="True"></asp:Label><td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width:15%">Match date 3</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label70" runat="server" Font-Bold="True"></asp:Label></td>
                                            <td class="tdNormal" style="width:10%">&nbsp;</td>
                                            <td class="tdNormal" style="width:15%">Match date 4</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label71" runat="server" Font-Bold="True"></asp:Label><td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width:15%"></td>
                                            <td class="tdNormal" style="width:30%"></td>
                                            <td class="tdNormal" style="width:10%">&nbsp;</td>
                                            <td class="tdNormal" style="width:15%">Next match</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label73" runat="server" 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="Label74" runat="server" 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="Label75" runat="server" Font-Bold="True"></asp:Label><td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width:15%">Original Seq Number</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label76" runat="server" 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="Label77" runat="server" Font-Bold="True"></asp:Label><td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width:15%">Original time</td>
                                            <td class="tdNormal" style="width:30%"><asp:Label ID="Label78" runat="server" 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="GridView3" CssClass="gridMaster" Width ="100%" runat="server" AutoGenerateColumns="False"
                                                     CellPadding="4" 
                                                    ForeColor="#333333" GridLines="None"  
                                                     EmptyDataText="There are no results">
                                                    <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                                    <RowStyle BackColor="#F7F6F3" ForeColor="#333333"  />
                                                    <Columns>
                                                        <asp:BoundField DataField="channel_name" HeaderText="Channel Name" HeaderStyle-CssClass="header-center" />
                                                        <asp:BoundField DataField="mresult" HeaderText="Match Result" HeaderStyle-CssClass="header-center" />
                                                    </Columns>
                                                    <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                                                    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                                                    <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="Black" />
                                                    <EditRowStyle BackColor="#999999" />
                                                    <AlternatingRowStyle BackColor="White" ForeColor="#284775"  />
                                                </asp:GridView>
                                            </td>
                                        </tr>
                                        <tr>
                                        <td colspan=5>
                                        Proposed transactions<br />
                                        <asp:GridView ID="GridView6" class="table table-bordered table-hover" runat="server" OnRowCommand="GridView6_RowCommand" AutoGenerateColumns="False"  DataKeyNames="t_code" EmptyDataText="There are no results">
                                        <Columns>
                                            <asp:BoundField DataField="TRAN_DATE" HeaderText="Tran&nbsp;Date" HeaderStyle-CssClass="header-center" />
                                            <asp:BoundField DataField="TRAN_TIME" HeaderText="Tran&nbsp;Time" HeaderStyle-CssClass="header-center" />
                                            <asp:BoundField DataField="CARD_NUMBER" HeaderText="Card&nbsp;Number" HeaderStyle-CssClass="header-center" />
                                            <asp:BoundField DataField="FINANCIAL_FLAG" HeaderText="Financial&nbsp;Flag" HeaderStyle-CssClass="header-center" />
                                            <asp:BoundField DataField="TERM_ID" HeaderText="Term&nbsp;ID" HeaderStyle-CssClass="header-center" />
                                            <asp:BoundField DataField="TRAN_AMOUNT" HeaderText="Amount" HeaderStyle-CssClass="header-center" />
                                            <asp:BoundField DataField="TRAN_SOURCE" HeaderText="Tran&nbsp;Source" HeaderStyle-CssClass="header-center" />
                                            <asp:BoundField DataField="TRAN_DEST" HeaderText="Tran&nbsp;Dest" HeaderStyle-CssClass="header-center" />
                                            <asp:BoundField DataField="RRN" HeaderText="Reference&nbsp;No" HeaderStyle-CssClass="header-center" />
                                            <asp:BoundField DataField="TRAN_CURR" HeaderText="Tran&nbsp;Curr" HeaderStyle-CssClass="header-center" />
                                            <asp:BoundField DataField="product" HeaderText="Product" HeaderStyle-CssClass="header-center" />
                                            <asp:TemplateField HeaderText="Actions" Visible="true" HeaderStyle-CssClass="header-center">
                                                <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="btn_forcematch2" CssClass="btn btn-outline-dark btn-block btn-sm" runat="server" Text="Force Match" CommandName="f" CommandArgument="<%# ((GridViewRow) Container).RowIndex %>" /></a>
                                                    </div>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                        </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>

                <div class="modal fade" id="modal-xl2">
		   
				<div class="modal-dialog modal-xl">
					<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="lbl_recordDate" runat="server" Text="" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Settlment Date
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="lbl_settlDate" runat="server" Text="" 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="lbl_tranDate" runat="server" Text="" 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="lbl_tranTime" runat="server" Text="" 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="lbl_cardNumber" runat="server" Text="" 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="lbl_isoRes" runat="server" Text="" Font-Bold="True"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Terminal ID
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <div runat="server" id="Div" visible="false" style="z-index: 1; position: absolute">
                                                    <table border="0" cellpadding="0" cellspacing="0" class="grid_TitleBG_B">
                                                        <tr>
                                                            <td>
                                                                Base24 Mathched Transactions
                                                            </td>
                                                        </tr>
                                                    </table>
                                                    <asp:GridView AllowPaging="true" ID="grd_trans" CssClass="table table-striped table-bordered table-sm" Width ="100%" runat="server"
                                                        AutoGenerateColumns="False" OnRowCommand="grd_trans_RowCommand" CellPadding="4"
                                                        ForeColor="#333333" GridLines="None" DataKeyNames="MT_CODE" OnPageIndexChanging="grd_trans_PageIndexChanging"
                                                        EmptyDataText="There are no Suggestted Transactions">
                                                        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                                        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                                                        <Columns>
                                                            <asp:BoundField DataField="TERM_ID" HeaderText="Terminal&nbsp;ID" HeaderStyle-CssClass="header-center" />
                                                            <asp:BoundField DataField="TRAN_SOURCE" HeaderText="Transaction&nbsp;Source" HeaderStyle-CssClass="header-center" />
                                                            <asp:BoundField DataField="TRAN_DEST" HeaderText="Transaction&nbsp;Dest" HeaderStyle-CssClass="header-center" />
                                                            <asp:BoundField DataField="TRACE_ID" HeaderText="Trace&nbsp;ID" HeaderStyle-CssClass="header-center" />
                                                            <asp:BoundField DataField="AUTH_CODE" HeaderText="Auth&nbsp;Code" HeaderStyle-CssClass="header-center" />
                                                            <asp:BoundField DataField="RE_CODE" HeaderText="Event" HeaderStyle-CssClass="header-center" />
                                                            <asp:BoundField DataField="TRAN_DATE" HeaderText="Date" HeaderStyle-CssClass="header-center" />
                                                            <asp:BoundField DataField="TRAN_AMOUNT" HeaderText="Amount" HeaderStyle-CssClass="header-center" />
                                                            <asp:ButtonField ButtonType="Image" ItemStyle-Width="30px" CommandName="s" Text="Select Transaction"
                                                                ImageUrl="~/Images/document_view.jpg"></asp:ButtonField>
                                                        </Columns>
                                                        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                                                        <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                                                        <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="Black" />
                                                        <EditRowStyle BackColor="#999999" />
                                                        <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                                                    </asp:GridView>
                                                    <asp:Button ID="btn_close" runat="server" Text="Close" CssClass="Btn_L_Normal" OnClick="btn_close_Click" />
                                                </div>
                                            
                                                <asp:TextBox runat="server" ID="txt_terminalId" MaxLength="16" Font-Bold="True"></asp:TextBox>

                                                <asp:ImageButton ID="img_search" runat="server" ToolTip="Suggested Matched Transactions" ImageUrl="~/Images/document_view.jpg"
                                                        OnClick="img_search_Click" />

                                            
                                            </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="lbl_tranAmount" runat="server" Font-Bold="True"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Transaction source
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:TextBox ID="txt_tranSource" runat="server" MaxLength="11" Font-Bold="True"></asp:TextBox>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Transaction destination
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:TextBox ID="txt_tranDest" runat="server" Font-Bold="True" MaxLength="11"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Message type
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="lbl_msgType" runat="server" 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:TextBox ID="txt_traceId" runat="server" Font-Bold="True" MaxLength="6"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                File number
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="lbl_fileNumber" runat="server" 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="lbl_cardBrand" runat="server" 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="lbl_refNumber" runat="server" 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="lbl_cardExpiryDate" runat="server" 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="lbl_accountNumber" runat="server" 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:TextBox ID="txt_authCode" runat="server" Text="" Font-Bold="True" MaxLength="6"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Business class
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="lbl_businessClass" runat="server" 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="lbl_reconStatus" runat="server" 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="lbl_tranCurrency" runat="server" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Settlment currency
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="lbl_settlCurrency" runat="server" Font-Bold="True"></asp:Label>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Settlment amount
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="lbl_settlAmount" runat="server" 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="lbl_tranChange" runat="server" 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="lbl_matchResult" runat="server" 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="lbl_chipIndex" runat="server" 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="lbl_channelName" runat="server" 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:DropDownList ID="ddl_eventName" runat="server" DataTextField="evant_name" AutoPostBack="True"
                                                        Width="100%" DataValueField="re_code" Font-Bold="true" Font-Size="12px">
                                                </asp:DropDownList>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                PCODE
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="lbl_pCode" runat="server" 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="lbl_financialFlag" runat="server" 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="lbl_product" runat="server" 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="lbl_msgReasonCode" runat="server" 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="lbl_settlFlag" runat="server" Font-Bold="True"></asp:Label>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Claim ID
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:Label ID="lbl_claimId" runat="server" Font-Bold="True"></asp:Label>
                                            </td>
                                        </tr>
                                    
                                    </table>
                                    <table border="0" cellpadding="0" cellspacing="0" class="action_TB_BgaddItem">
                                        <tr>
                                            <td>
                                                <asp:Button ID="btn_updatePnl_save" runat="server" Text="   Save   " class="Btn_M_Normal"
                                                    CausesValidation="False" onclick="btn_updatePnl_save_Click"/>
                                            </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>

                <div class="modal fade" id="modal-xlP" >
		   
				<div class="modal-dialog modal-xl" style="max-width: max-content;">
					<div class="modal-content">
					<div class="modal-header">
						<h4 class="modal-title">Proposed Transactions</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">
							
                                    <asp:GridView ID="GridView4" class="table table-striped table-bordered table-sm" runat="server" OnRowCommand="GridView4_RowCommand" AutoGenerateColumns="False" onprerender="GridView1_PreRender" DataKeyNames="t_code" EmptyDataText="There are no results">
                                        <Columns>
                                            <asp:BoundField DataField="TRAN_DATE" HeaderText="Tran&nbsp;Date" HeaderStyle-CssClass="header-center" />
                                            <asp:BoundField DataField="TRAN_TIME" HeaderText="Tran&nbsp;Time" HeaderStyle-CssClass="header-center" />
                                            <asp:BoundField DataField="CARD_NUMBER" HeaderText="Card&nbsp;Number" HeaderStyle-CssClass="header-center" />
                                            <asp:BoundField DataField="FINANCIAL_FLAG" HeaderText="Financial&nbsp;Flag" HeaderStyle-CssClass="header-center" />
                                            <asp:BoundField DataField="TERM_ID" HeaderText="Term&nbsp;ID" HeaderStyle-CssClass="header-center" />
                                            <asp:BoundField DataField="TRAN_AMOUNT" HeaderText="Amount" HeaderStyle-CssClass="header-center" />
                                            <asp:BoundField DataField="TRAN_SOURCE" HeaderText="Tran&nbsp;Source" HeaderStyle-CssClass="header-center" />
                                            <asp:BoundField DataField="TRAN_DEST" HeaderText="Tran&nbsp;Dest" HeaderStyle-CssClass="header-center" />
                                            <asp:BoundField DataField="RRN" HeaderText="Reference&nbsp;No" HeaderStyle-CssClass="header-center" />
                                            <asp:BoundField DataField="TRAN_CURR" HeaderText="Tran&nbsp;Curr" HeaderStyle-CssClass="header-center" />
                                            <asp:BoundField DataField="product" HeaderText="Product" HeaderStyle-CssClass="header-center" />
                                            <asp:TemplateField HeaderText="Actions" Visible="true" HeaderStyle-CssClass="header-center">
                                                <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="btn_forcematch3" CssClass="btn btn-outline-dark btn-block btn-sm" runat="server" Text="Force Match" CommandName="f" CommandArgument="<%# ((GridViewRow) Container).RowIndex %>" /></a>
                                                    </div>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                        </Columns>
                                    </asp:GridView>
								  
						</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
		    //$('#ContentPlaceHolder1_TextBox1').daterangepicker()

		    $('#reservationdate').datetimepicker({
		        format: 'DD-MM-YYYY'
		    });

		    //$('#reservationdatetime').datetimepicker({ icons: { time: 'far fa-clock'} });
//        $('#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>
