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

<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">
</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>Discovery Daily Settlement</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">Settlement and Posting</li>
			  <li class="breadcrumb-item active">Discovery Daily Settlement</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-3">
                            <div class="form-group">
                                <label>Settlement Date</label>
                                <div class="input-group date" id="sdate" data-target-input="nearest">
                                    <asp:TextBox ID="txtsdate" data-target="#sdate" runat="server" class="form-control datetimepicker-input"></asp:TextBox>
                                    <div class="input-group-append" data-target="#sdate" data-toggle="datetimepicker">
                                        <div class="input-group-text"><i class="fa fa-calendar"></i></div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <div class="col-sm-4 radio radio-primary">
                            <div class="form-group">
                                <label>&nbsp;</label><br />
                                <asp:RadioButton ID="rdATM" runat="server" class="fieldNormal" Checked="True" GroupName="group" Text="ATM" />&nbsp;&nbsp;
                              <asp:RadioButton ID="rdPOS" runat="server" class="fieldNormal" Checked="False" GroupName="group" Text="POS" />
                            </div>
                        </div>
                        
                        <div class="col-sm-1">
                            <div class="form-group">
                                <asp:Label ID="lbl_File_Number" runat="server" class="fieldNormal" Text="" Visible="false"></asp:Label>
                                <asp:Label ID="lbl_Status" runat="server" class="fieldNormal" Text="" Visible="false"></asp:Label>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-12" style="margin-bottom: 1%">
                            <asp:Button ID="btnSearch" runat="server" Text="Search" OnClick="btnSearch_Click" OnClientClick="$('#cover-spin').show();" CssClass="btn btn-primary btn-l" />&nbsp;&nbsp;
                            <asp:Button ID="btnGenReport" runat="server" Text="Summary Report" CssClass="btn btn-primary btn-l" OnClientClick="$('#cover-spin').show();" OnClick="btnGenReport_Click" />
                            <asp:Button ID="btnCReport" runat="server" Text="Claim Report" CssClass="btn btn-primary btn-l" OnClientClick="$('#cover-spin').show();" OnClick="btnClaimReport_Click" Visible=false />
                        </div>
                    </div>
                </div>
            </div>
              <!-- /.card-body -->
            
            <asp:Panel ID="pnl_result" runat="server">
                <div class="card card-info color-palette-box">
                    <div class="card-header">
                        <h3 class="card-title">
                            <i class="fas fa-tag"></i>
                            <b>Discovery Settlement</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">
                        <table dir="ltr" class="table table-striped table-bordered table-sm" border="0" cellpadding="0" cellspacing="0" class="add_ItemTB1" style="width: 100%">
                            <thead>
                                <tr>
                                    <td valign="middle" align="middle" style="width: 15%; font-weight: bold">DGN ATM - POS  Recon. Summary
                                    </td>
                                    <td valign="middle" align="center" style="width: 15%; font-weight: bold">Debit
                                    </td>
                                    <td valign="middle" align="center" style="width: 15%; font-weight: bold">Credit
                                    </td>
                                    <td valign="middle" align="center" style="width: 15%; font-weight: bold">NET Total
                                        &nbsp;&nbsp;&nbsp;<asp:ImageButton ID="myBtn" runat="server" ImageUrl="~/dist/img/sbutton.png" Height="20px" ImageAlign="Right" OnClick="myBtn_Click" />
                                    </td>
                                </tr>
                            </thead>
                            <tr>
                                <td valign="middle" align="middle" style="width: 15%">DGN PDF Report - A
                                </td>
                                <td valign="middle" align="right" style="width: 15%">
                                    <asp:Label ID="lblgccpdfdebit" runat="server"></asp:Label>
                                </td>
                                <td valign="middle" align="right" style="width: 15%">
                                    <asp:Label ID="lblgccpdfcredit" runat="server"></asp:Label>
                                </td>
                                <td valign="middle" align="right" style="width: 15%">
                                    <asp:Label ID="lblgccpdftotal" runat="server"></asp:Label>
                                </td>

                                <%--<div><button id="myBtn" type="button" style="background:url(../Images/document_view.jpg) no-repeat 5px center; padding:20px 5px 5px 27px; border:0px;"></button></div>--%>
                            </tr>
                            <tr>
                                <td align="middle" valign="middle" class="style2">Switch Settlement Report - B
                                </td>
                                <td valign="middle" align="right" style="width: 15%">
                                    <asp:Label ID="lblgccbankdebit" runat="server"></asp:Label>
                                </td>
                                <td valign="middle" align="right" style="width: 15%">
                                    <asp:Label ID="lblgccbankcredit" runat="server"></asp:Label>
                                </td>
                                <td valign="middle" align="right" style="width: 15%">
                                    <asp:Label ID="lblgccbanktotal" runat="server"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td valign="middle" align="middle" style="width: 15%">Differences ( A - B )
                                </td>
                                <td valign="middle" align="right" style="width: 15%">
                                    <asp:Label ID="lbldebitdiff" runat="server" class=""></asp:Label>
                                </td>
                                <td valign="middle" align="right" style="width: 15%">
                                    <asp:Label ID="lblcreditdiff" runat="server" class=""></asp:Label>
                                </td>

                                <td valign="middle" align="right" style="width: 15%">
                                    <asp:Label ID="lblnetdiff" runat="server" class=""></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td align="left" valign="middle" class="style2"></td>
                            </tr>
                            <tr style="display: none;">
                                <td align="middle" valign="middle" class="style2">Issuer (Reversal Difference)
                                </td>
                                <td valign="middle" align="center" style="width: 15%">
                                    <asp:Label ID="lbl_debitPos_Rvslamt" runat="server" class="fieldNormal"></asp:Label>
                                    <asp:ImageButton ID="imagebutton7" runat="server" AlternateText="View breakdown" ImageUrl="~/Images/document_view.jpg" />
                                </td>
                                <td valign="middle" align="center" style="width: 15%">
                                    <asp:Label ID="lbl_CreditPos_Rvslamt" runat="server" class="fieldNormal"></asp:Label>
                                    <asp:ImageButton ID="imagebutton8" runat="server" AlternateText="View breakdown" ImageUrl="~/Images/document_view.jpg" />
                                </td>

                                <td></td>
                            </tr>
                            <tr style="display: none;">
                                <td align="middle" valign="middle" class="style2">UnMatched (Txn in Switch Not in MADA)
                                </td>
                                <td valign="middle" align="center" style="width: 15%">
                                    <asp:Label ID="lbl_DebitPos_Unmtch" runat="server" class=""></asp:Label>
                                    <asp:ImageButton ID="imagebutton9" runat="server" AlternateText="View breakdown" ImageUrl="~/Images/document_view.jpg" />
                                </td>
                                <td valign="middle" align="center" style="width: 15%">
                                    <asp:Label ID="lbl_CreditPos_Unmtch" runat="server" class=""></asp:Label>
                                    <asp:ImageButton ID="imagebutton10" runat="server" AlternateText="View breakdown" ImageUrl="~/Images/document_view.jpg" />
                                </td>
                                <td></td>
                            </tr>
                            <tfoot>
                                <tr style="display: none;">
                                    <td valign="middle" align="middle" style="width: 15%">Overall Differences
                                    </td>
                                    <td valign="middle" align="center" style="width: 15%">
                                        <asp:Label ID="lbl_debitPOS_difference" runat="server" class=""></asp:Label>
                                        <asp:ImageButton ID="imagebutton11" runat="server" AlternateText="View breakdown" ImageUrl="~/Images/document_view.jpg" />
                                    </td>
                                    <td valign="middle" align="center" style="width: 15%">
                                        <asp:Label ID="lbl_creditPOS_difference" runat="server" class=""></asp:Label>
                                        <asp:ImageButton ID="imagebutton12" runat="server" AlternateText="View breakdown" ImageUrl="~/Images/document_view.jpg" />
                                    </td>
                                    <td></td>

                                </tr>
                            </tfoot>
                        </table>
                        
                        <asp:Button ID="btn_print" runat="server" Text="  Print  " class="btn btn-primary btn-l" OnClick="btn_print_Click" />
                    </div>
                    <!-- /.card-body -->
                </div>
            </asp:Panel>

            <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">Country List</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" width="100%" cellpadding="0" cellspacing="0" class="add_ItemTB">
                                        <tr>
                                            <td class="tdNormal" colspan="5">
                                                <asp:GridView ID="GridView2" CssClass="table table-striped table-bordered table-sm" runat="server" AutoGenerateColumns="False"
                                                    AllowSorting="True" GridLines="None" EmptyDataText="There are no Results">
                                                    <%--<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                                    <RowStyle BackColor="#F7F6F3" ForeColor="#333333" HorizontalAlign="Right" />--%>
                                                    <Columns>
                                                        <asp:BoundField DataField="GCCCntry" HeaderText="Country" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" />
                                                        <asp:BoundField DataField="Acquirer" HeaderText="Acquirer" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" />
                                                        <asp:BoundField DataField="Issuer" HeaderText="Issuer" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Right" />
                                                        <asp:BoundField DataField="Net_Total" HeaderText="Net Total" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Right" />
                                                    </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" HorizontalAlign="Right" />--%>
                                                </asp:GridView>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                                <!-- /.card-body -->


                            </div>
                            <div class="modal-footer justify-content-between">
                                <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
                            </div>
                        </div>
                        <!-- /.modal-content -->
                    </div>
                    <!-- /.modal-dialog -->

                </div>

                <!-- /.modal -->
            </div>

					
            <div id="tlfFilesArea" class="card card-info color-palette-box" runat="server">
                <div class="card-header">
                    <h3 class="card-title">
                        <i class="fas fa-tag"></i>
                        <b>TLF Files Total</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">
                    <table dir="ltr" class="table table-striped table-bordered table-sm">
                        <thead>
                            <tr>
                                <td valign="middle" align="left" style="width: 15%; font-weight: bold">Tlf Files Total
                                </td>
                                <td valign="middle" align="center" style="width: 15%; font-weight: bold">Debit
                                </td>
                                <td valign="middle" align="center" style="width: 15%; font-weight: bold">Credit
                                </td>

                                <td valign="middle" align="center" style="width: 15%; font-weight: bold">NET Total
                                </td>
                            </tr>
                        </thead>
                        <tr>
                            <td valign="middle" align="left" style="width: 15%">Total</td>
                            <td valign="middle" align="right" style="width: 15%">
                                <asp:Label ID="LabelTLF06" runat="server" class=""></asp:Label>
                            </td>
                            <td valign="middle" align="right" style="width: 15%">
                                <asp:Label ID="LabelTLF05" runat="server" class=""></asp:Label>
                            </td>

                            <td valign="middle" align="right" style="width: 15%">
                                <asp:Label ID="LabelTLFTotal" runat="server" class="" oncopy="event.KeyCode=0;"></asp:Label>
                            </td>
                        </tr>
                    </table>

                </div>
                <!-- /.card-body -->


            </div>
			
                
            
				<!-- /.modal -->
		
		<!-- Default box -->
       <asp:Panel ID="pnlResult_TicketEntry" runat="server" Width="100%" Visible="false">
		<div class="card card-info color-palette-box">
			<div class="card-header">
				<h3 class="card-title">
                    <i class="fas fa-tag"></i>
                    <b>Discovery Ticket Entry</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">
                <asp:GridView ID="GridView1" class="table table-striped table-bordered table-sm" runat="server" AutoGenerateColumns="False" OnRowCommand="GridView1_RowCommand" OnRowCreated="GridView1_RowCreated" DataKeyNames="Event_Name" EmptyDataText="There are no results">
                    <Columns>
                        <asp:BoundField DataField="Event_Name" HeaderText="Account Name" />
                        <asp:BoundField DataField="From_Account" HeaderText="Dr. Account" />
                        <asp:BoundField DataField="To_Account" HeaderText="Cr. Account" />
                        <asp:BoundField DataField="Amount" HeaderText="Amount" DataFormatString="{0:n}" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Right" />
                        <asp:BoundField DataField="AMOUNT_SIGN" HeaderText="Db / Cr" />
                        <asp:BoundField DataField="Narrative" HeaderText="Narrative" />
                        <asp:BoundField DataField="CS_GL_Desc" HeaderText="Status" />
                        <asp:BoundField DataField="CS_GL_Code" HeaderText="" />
                        <asp:BoundField DataField="file_number" HeaderText="File&nbsp;Number" />
                    </Columns>
                </asp:GridView>
            </div>
		</div>

        <div class="card card-info color-palette-box">
			<div class="card-header">
				<h3 class="card-title">
                    <i class="fas fa-tag"></i>
                    <b>VAT</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">
                <asp:GridView ID="GridView3" class="table table-striped table-bordered table-sm" runat="server" AutoGenerateColumns="False" DataKeyNames="Event_Name" OnRowCreated="GridView3_RowCreated" EmptyDataText="There are no results">
                <Columns>
                    <asp:BoundField DataField="Event_Name" HeaderText="Account Name" />
                    <asp:BoundField DataField="From_Account" HeaderText="Dr. Account" />
                    <asp:BoundField DataField="To_Account" HeaderText="Cr. Account" />
                    <asp:BoundField DataField="Amount" DataFormatString="{0:n}" HeaderText="Amount" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Right" />
                    <asp:BoundField DataField="AMOUNT_SIGN" HeaderText="Db / Cr" />
                    <asp:BoundField DataField="Narrative" HeaderText="Narrative" />
                    <asp:BoundField DataField="CS_GL_Desc" HeaderText="Status" />
                    <asp:BoundField DataField="CS_GL_Code" HeaderText="" />
                    <asp:BoundField DataField="file_number" HeaderText="File&nbsp;Number" />
                </Columns>
            </asp:GridView>
                <div class="row" style="margin-top: 1%;">
                    <table border="0" width="100%" cellpadding="0" cellspacing="0" class="add_ItemTB">
                        <tr>
                            <td class="tdNormal" style="width: 80%"></td>
                            <td class="tdNormal" style="width: 20%">
                                <b>Difference(CR-DB) : </b>
                            </td>
                            <td class="tdNormal">
                                <asp:Label ID="lbl_CR_DR_Diff" runat="server" Text="" class="fieldError"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align: left">
                                <% if (GridView1.Rows.Count >= 1)
                                    { %>
                                <% if (lbl_Status.Text == "000" || lbl_Status.Text == "008")
                                    { %>
                                <asp:Button ID="bttn_Approval" runat="server" Text="Submit for Approval" CssClass="Btn_L_Normal1"
                                    OnClick="ButtonSubmitForApproval_Click" Width="111px" OnClientClick="return SaveConfirmation('Are you sure to send all the entries for approval')" />
                                <%} %>
                                <% if (lbl_Status.Text == "001")
                                    { %>
                                <asp:Button ID="bttn_CreateGL" runat="server" Text="Approve" CssClass="Btn_L_Normal"
                                    OnClick="bttn_ApproveAndCreateGL" OnClientClick="return SaveConfirmation('Are you sure to process the GL')" />
                                <asp:Button ID="bttn_Reject" runat="server" Text="Reject" CssClass="Btn_L_Normal1"
                                    OnClick="ButtonRejectForApproval_Click" Width="111px" OnClientClick="return SaveConfirmation('Are you sure to cancel all the entries')" />
                                <%} %>
                                <%} %>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <asp:Label ID="Lbl_MannualDif" runat="server" Text="" class="fieldError"></asp:Label>	
        </div>

        </asp:Panel>
        
        
	</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()

            $('#sdate').datetimepicker({
		    //format: 'L'
		        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>
