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

<%@ Register Src="../UserControls/DatePicker.ascx" TagName="DatePicker" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">

    <script language="javascript" type="text/javascript">
    function validate()
    {
        var message = "";
        
        if (document.getElementById("<%=txtTerminal.ClientID%>").value=="")
        {
            message += "You have to enter the ATM number...\n";
        }
        
        if(message.length >0)
        {
            message = "please notice the following requirments:\n\n" + message;
            alert(message);
            return false;
        }
        return true;
    }
    function showgrid()
    {
        document.getElementById('td1').className='off';
        document.getElementById('td2').className='offEnd';
        document.getElementById('td3').className='on';
        document.getElementById('td4').className='onEndLast';
        document.getElementById('gridtable').style.display = 'block';
        document.getElementById('controltable').style.display = 'none';
    }
    function showcontrol()
    {
        document.getElementById('td1').className='on';
        document.getElementById('td2').className='onEnd';
        document.getElementById('td3').className='off';
        document.getElementById('td4').className='offEndLast';
        document.getElementById('gridtable').style.display = 'none';
        document.getElementById('controltable').style.display = 'block';
    }
    </script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table class="body_MainTB" border="0" cellpadding="0" cellspacing="0">
        <tr align="center">
            <td valign="top">
                <!------------------------------------body St  ---------------------------------------------->
                <table border="0" cellpadding="0" cellspacing="0" class="body_formTitle">
                    <tr>
                        <td>
                            Deposit ATM Replenishment
                        </td>
                    </tr>
                </table>
                <br>
                <!------------------------------------body End1 ----------------------------------------------->
                <table border="0" cellpadding="0" cellspacing="0" class="contTB">
                    <tr>
                        <td align="center">
                            <table width="100%" border="0" cellpadding="0" cellspacing="0" class="Frow">
                                <tr>
                                    <td>
                                    </td>
                                </tr>
                            </table>
                            <br />
                            <table border="0" width="100%" cellpadding="0" cellspacing="0" class="add_ItemTB">
                                <tr>
                                    <td class="tdNormal">
                                        ATM number
                                    </td>
                                    <td colspan="4">
                                        <asp:TextBox ID="txtTerminal" runat="server" class="fieldNormal" Width="250" MaxLength="4"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr runat="server" id="row1">
                                    <td class="tdNormal" style="width: 15%">
                                        Prev
                                        <br />
                                        replenishment date
                                    </td>
                                    <td style="width: 30%">
                                        <uc1:DatePicker ID="DatePicker1" runat="server" width="250" />
                                    </td>
                                    <td style="width: 10%">
                                    </td>
                                    <td style="width: 15%">
                                        Prev
                                        <br />
                                        replenishment time
                                    </td>
                                    <td style="width: 30%">
                                        <asp:TextBox ID="txtPrevTime" runat="server" class="fieldNormal" Width="250"  MaxLength="10"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="tdNormal">
                                        Replenishment date
                                    </td>
                                    <td>
                                        <uc1:DatePicker ID="DatePicker2" runat="server" width="250" />
                                    </td>
                                    <td>
                                    </td>
                                    <td>
                                        <asp:Label ID="lblTime" runat="server" Text="Replenishment time"></asp:Label>
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtTime" runat="server" class="fieldNormal" Width="250" MaxLength="10"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="5" style="text-align: center">
                                        <asp:Button ID="Button1" runat="server" Text="Search" CssClass="Btn_L_Normal" OnClientClick="return validate()"
                                            OnClick="Button1_Click" />
                                    </td>
                                </tr>
                            </table>
                            <br />
                            <asp:Label ID="lblError" runat="server" Text="" class="fieldError"></asp:Label>
                            <asp:Panel ID="pnlResult" runat="server" Width="100%" Visible="false">
                                <fieldset id="addItem">
                                    <legend id="addItem">Replenishment Search Results</legend>
                                </fieldset>
                                <table border="0" width="100%" cellpadding="0" cellspacing="0" class="add_ItemTB">
                                    <tr>
                                        <td class="tdNormal" colspan="5">
                                            <asp:GridView ID="GridView1" CssClass="gridMaster" Width ="100%" runat="server" AutoGenerateColumns="False"
                                                AllowPaging="True" AllowSorting="True" CellPadding="4" ForeColor="#333333" GridLines="None"
                                                EmptyDataText="There are no Results" DataKeyNames="rid" OnRowCommand="GridView1_RowCommand"
                                                OnRowCreated="GridView1_RowCreated"  >
                                                <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                                <RowStyle BackColor="#F7F6F3" ForeColor="#333333" HorizontalAlign="Right" />
                                                <Columns>
                                                    <asp:BoundField DataField="rid" HeaderText="Replineshment ID" />
                                                    <asp:BoundField DataField="terminal" HeaderText="Terminal ID" />
                                                    <asp:BoundField DataField="repl_curr" HeaderText="Repl Currancy" />
                                                    <asp:BoundField DataField="repl_date" HeaderText="Repl Date" />
                                                    <asp:BoundField DataField="repl_time" HeaderText="Repl Time" />
                                                    <asp:BoundField DataField="status" HeaderText="Status" />
                                                    <asp:ButtonField ButtonType="Image" ItemStyle-Width="30px" CommandName="e" Text="Edit"
                                                        ImageUrl="~/Images/edit.jpg"></asp:ButtonField>
                                                        
                                                    <%--<asp:BoundField DataField="branch_code" HeaderText="" />
                                                    <asp:BoundField DataField="prev_replenishment_date" HeaderText="" />
                                                    <asp:BoundField DataField="prev_replenishment_time" HeaderText="" />
                                                    <asp:BoundField DataField="amount_deposited" HeaderText="" />
                                                    <asp:BoundField DataField="amount_frm_vault" HeaderText="" />
                                                    <asp:BoundField DataField="amount_to_vault" HeaderText="" />
                                                    <asp:BoundField DataField="record_date" HeaderText="" />
                                                    <asp:BoundField DataField="sw_amount_dispensed" HeaderText="" />
                                                    <asp:BoundField DataField="opening_balance" HeaderText="" />
                                                    <asp:BoundField DataField="closing_balance" HeaderText="" />
                                                    <asp:BoundField DataField="gl_atm_difference" HeaderText="" />
                                                    <asp:BoundField DataField="ej_atm_difference" HeaderText="" />
                                                    <asp:BoundField DataField="overall_atm_diff" HeaderText="" />
                                                    <asp:BoundField DataField="rec_type_code" HeaderText="" />
                                                    <asp:BoundField DataField="verified_date" HeaderText="" />
                                                    <asp:BoundField DataField="verified_time" HeaderText="" />
                                                    <asp:BoundField DataField="status_code" HeaderText="" />
                                                    <asp:BoundField DataField="error_description" HeaderText="" />
                                                    <asp:BoundField DataField="GL_amount_dispensed" HeaderText="" />
                                                    <asp:BoundField DataField="Modify_Reason" HeaderText="" />
                                                    <asp:BoundField DataField="from_b24" HeaderText="" />
                                                    <asp:BoundField DataField="ej_print_flag" HeaderText="" />
                                                    <asp:BoundField DataField="bancs_recon_result" HeaderText="" />
                                                    <asp:BoundField DataField="b24_amount_deposited" HeaderText="" />
                                                    <asp:BoundField DataField="b24_amount_frm_vault" HeaderText="" />
                                                    <asp:BoundField DataField="b24_amount_to_vault" HeaderText="" />
                                                    <asp:BoundField DataField="b24_rpl_time" HeaderText="" />
                                                    <asp:BoundField DataField="b24_p_rpl_time" HeaderText="" />
                                                    <asp:BoundField DataField="created_by" HeaderText="" />
                                                    <asp:BoundField DataField="create_date" HeaderText="" />
                                                    <asp:BoundField DataField="b24_rpl_date" HeaderText="" />
                                                    <asp:BoundField DataField="b24_p_rpl_date" HeaderText="" />--%>
                                                </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>
                                    <tr>
                                        <td class="tdNormal" style="width: 20%">
                                            Go To Page:
                                            <asp:DropDownList ID="ddlPages" runat="server" class="fieldNormal" AutoPostBack="True"
                                                Width="50px" OnSelectedIndexChanged="ddlPages_SelectedIndexChanged">
                                            </asp:DropDownList>
                                        </td>
                                        <td class="tdNormal">
                                        </td>
                                        <td class="tdNormal">
                                        </td>
                                        <td class="tdNormal">
                                        </td>
                                        <td class="tdNormal">
                                        </td>
                                    </tr>
                                </table>
                                <table border="0" cellpadding="0" cellspacing="0" class="action_TB_BgForm">
                                    <tr>
                                        <td>
                                            <asp:Button ID="btnAdd" runat="server" Text="     Add     " class="Btn_M_Normal"
                                                OnClick="btnAdd_Click" />
                                    </tr>
                                </table>
                            </asp:Panel>
                            <asp:Panel ID="pnlControls" runat="server" Width="100%" Visible="false">
                                <fieldset id="addItem">
                                    <legend id="addItem">Replenishment Details</legend>
                                </fieldset>
                                <table border="0" cellpadding="0" cellspacing="0" class="add_ItemTB">
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Branch
                                        </td>
                                        <td class="tdNormal" colspan="2">
                                            <asp:DropDownList ID="DropDownList1" runat="server" class="fieldNormal" DataTextField="branch_name"
                                                DataValueField="branch_code">
                                            </asp:DropDownList>
                                            &nbsp;
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            &nbsp;
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            ATM Number
                                        </td>
                                        <td class="tdNormal" colspan="2">
                                            <asp:TextBox ID="txtATMNumberAdd" runat="server" class="fieldNormal"  MaxLength="4"></asp:TextBox>
                                            <td class="tdNormal" style="width: 15%">
                                                &nbsp;
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                &nbsp;
                                            </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Prev Repl Date
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="lblPrevReplDate" runat="server" Text="" Visible=false></asp:Label>
                                            <uc1:DatePicker ID="datePrev" runat="server" />
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            Prev Repl Time
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:TextBox ID="txtPreTime" runat="server" class="fieldNormal"  MaxLength="10"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Repl Date
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="lblReplDate" runat="server" Text="" Visible=false></asp:Label>
                                            <uc1:DatePicker ID="dateCurrent" runat="server"/>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            Repl Time
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:TextBox ID="txtRepTime" runat="server" class="fieldNormal" MaxLength="10"></asp:TextBox>
                                        </td>
                                    </tr>
                                    
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Prev B24 Date
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <uc1:DatePicker ID="dateB24PrevDate" runat="server" />
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            Prev B24 Time
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:TextBox ID="txtPrevB24Time" runat="server" class="fieldNormal" MaxLength="10"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            B24 Date
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <uc1:DatePicker ID="dateB24Date" runat="server"/>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            B24 Time
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:TextBox ID="txtB24Time" runat="server" class="fieldNormal" MaxLength="10"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Repl Currancy
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                        <asp:DropDownList ID="ddlCurrency" runat="server" class="fieldNormal" DataTextField="currency"
                                                DataValueField="iso_code">
                                            </asp:DropDownList>
                                            <asp:TextBox ID="TextBox5" Enabled="false"  MaxLength="3" runat="server" class="fieldNormal"></asp:TextBox>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Record Status
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:DropDownList ID="ddlStatus" runat="server" class="fieldNormal" DataTextField="status"
                                                DataValueField="SID">
                                            </asp:DropDownList>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            From Base24
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:CheckBox ID="chkFromBase24" Enabled="false" runat="server" class="fieldNormal" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            From CL / Add
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="lblClAdd" runat="server" Text=""></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            HOST results
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="lblBANCS" runat="server" Text=""></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Record date
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:TextBox ID="TextBox10" Enabled="false" ReadOnly="true" runat="server" class="fieldNormal"></asp:TextBox>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            Modify reason
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:DropDownList ID="ddlModifyReason" runat="server" DataTextField="reason" Width="250px"
                                                DataValueField="reason_id" class="fieldNormal" AutoPostBack="False">
                                            </asp:DropDownList>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" style="width: 15%">
                                            Created By
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="lblUser" runat="server" Text=""></asp:Label>
                                        </td>
                                        <td class="tdNormal" style="width: 10%">
                                        </td>
                                        <td class="tdNormal" style="width: 15%">
                                            Creation Date
                                        </td>
                                        <td class="tdNormal" style="width: 30%">
                                            <asp:Label ID="lblUserDate" runat="server" Text=""></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td class="tdNormal" colspan="2" style="width: 45%">
                                            <fieldset id="addItem">
                                                <legend id="addItem">EJ Counters</legend>
                                            </fieldset>
                                            <table border="0" style="width: 95%" cellpadding="0" cellspacing="0" class="add_ItemTB">
                                                <tr>
                                                    <td class="tdNormal" style="width: 30%">
                                                        Amount deposited
                                                    </td>
                                                    <td class="tdNormal" style="width: 70%">
                                                        <asp:TextBox ID="TextBox6" runat="server" class="fieldNormal"  MaxLength="18"></asp:TextBox>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="tdNormal" style="width: 30%">
                                                        Amount from vault
                                                    </td>
                                                    <td class="tdNormal" style="width: 70%">
                                                        <asp:TextBox ID="TextBox7" runat="server" Enabled="false"  MaxLength="18"  class="fieldNormal" >0</asp:TextBox>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="tdNormal" style="width: 30%">
                                                    Retracted Amount
                                                        </td>
                                                    <td class="tdNormal" style="width: 70%">
                                                         <asp:TextBox ID="txtRetracted" runat="server"  MaxLength="18" class="fieldNormal" Enabled="false"></asp:TextBox>
                                                         </td>
                                                </tr>
                                                <tr>
                                                    <td class="tdNormal" style="width: 30%">
                                                    Rejected Amount
                                                        </td>
                                                    <td class="tdNormal" style="width: 70%">
                                                         <asp:TextBox ID="txtRejected" runat="server"  MaxLength="18" class="fieldNormal" Enabled="false"></asp:TextBox>
                                                         </td>
                                                </tr>
                                                <tr>
                                                    <td class="tdNormal" style="width: 30%">
                                                        Amount to vault
                                                    </td>
                                                    <td class="tdNormal" style="width: 70%">
                                                        <asp:TextBox ID="TextBox8" runat="server"  MaxLength="18" class="fieldNormal" Enabled="false"></asp:TextBox>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                        <td class="tdNormal">
                                        </td>
                                        <td class="tdNormal" colspan="2">
                                            <fieldset id="addItem">
                                                <legend id="addItem">Base24 Counters</legend>
                                            </fieldset>
                                            <table border="0" style="width: 95%" cellpadding="0" cellspacing="0" class="add_ItemTB">
                                                <tr>
                                                    <td class="tdNormal" style="width: 30%">
                                                        Amount deposited
                                                    </td>
                                                    <td class="tdNormal" style="width: 70%">
                                                        <asp:TextBox ID="TextBox20" Enabled="false" MaxLength="18" runat="server" class="fieldNormal"></asp:TextBox>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="tdNormal" style="width: 30%">
                                                        Amount from vault
                                                    </td>
                                                    <td class="tdNormal" style="width: 70%">
                                                        <asp:TextBox ID="TextBox21" runat="server" MaxLength="18" Enabled="false" class="fieldNormal"></asp:TextBox>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td class="tdNormal" style="width: 30%">
                                                        Amount to vault
                                                    </td>
                                                    <td class="tdNormal" style="width: 70%">
                                                        <asp:TextBox ID="TextBox22" runat="server" MaxLength="18" Enabled="false" class="fieldNormal"></asp:TextBox>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                </table>
                                <asp:Panel ID="pnlReadOnly" runat="server" Width="100%" Visible="false">
                                <table width="95%" class="tabTb" border="0" cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td align="left">
                                                <table border="0" cellpadding="0" cellspacing="0" dir="ltr">
                                                    <tr>
                                                        <td id="td1" class="on">
                                                            <a href="#" onclick="showcontrol();">Replenishment Reconcilliation Details</a>
                                                        </td>
                                                        <td id="td2" class="onEnd">
                                                        </td>
                                                        <td id="td3" class="off">
                                                            <a href="#" onclick="showgrid();">Claims for this period</a>
                                                        </td>
                                                        <td id="td4" class="offEndLast">
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                    </table>
                                    <table id="controltable" border="0" cellpadding="0" cellspacing="0" class="add_ItemTB">
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Opening Balance
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:TextBox ID="TextBox11" Enabled="true" ReadOnly="false" runat="server" class="fieldNormal"></asp:TextBox>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Closing Balance
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:TextBox ID="TextBox12" Enabled="true" ReadOnly="false" runat="server" class="fieldNormal"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                GL ATM Difference
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:TextBox ID="TextBox13" Enabled="false" ReadOnly="true" runat="server" class="fieldNormal"></asp:TextBox>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                EJ ATM Difference
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:TextBox ID="TextBox14" Enabled="false" ReadOnly="true" runat="server" class="fieldNormal"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Overall ATM Difference
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:TextBox ID="TextBox15" Enabled="false" ReadOnly="true" runat="server" class="fieldNormal"></asp:TextBox>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                Record Type
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:TextBox ID="TextBox16" Enabled="false" ReadOnly="true" runat="server" class="fieldNormal"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Verified date
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:TextBox ID="TextBox17" Enabled="false" ReadOnly="true" runat="server" class="fieldNormal"></asp:TextBox>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                verified time
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:TextBox ID="TextBox18" Enabled="false" ReadOnly="true" runat="server" class="fieldNormal"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                SW Amount deposited
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:TextBox ID="TextBox19" Enabled="false" ReadOnly="true" runat="server" class="fieldNormal"></asp:TextBox>
                                            </td>
                                            <td class="tdNormal" style="width: 10%">
                                            </td>
                                            <td class="tdNormal" style="width: 15%">
                                                GL Amount deposited
                                            </td>
                                            <td class="tdNormal" style="width: 30%">
                                                <asp:TextBox ID="TextBox3" Enabled="false" ReadOnly="true" runat="server" class="fieldNormal"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdNormal" style="width: 15%">
                                                Error Description
                                            </td>
                                            <td class="tdNormal" colspan="4">
                                                <asp:TextBox ID="TextBox1" Enabled="true" TextMode="MultiLine" Rows="6" ReadOnly="false" MaxLength="250"
                                                    runat="server" class="fieldMultiLine"></asp:TextBox>
                                                &nbsp;
                                            </td>
                                        </tr>
                                    </table>
                                    <table id="gridtable" style="display: none" border="0" width="100%" cellpadding="0"
                                        cellspacing="0" class="add_ItemTB">
                                        <tr>
                                            <td class="tdNormal" colspan="5">
                                                <asp:GridView ID="GridView2" runat="server" AllowPaging="True" 
                                                AllowSorting="True" AutoGenerateColumns="False" CellPadding="4" 
                                                CssClass="gridMaster" Width ="100%" DataKeyNames="claim_id" 
                                                EmptyDataText="There are no Results" ForeColor="#333333" GridLines="None">
                                                <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                                <RowStyle BackColor="#F7F6F3" ForeColor="#333333" HorizontalAlign="Right" />
                                                <Columns>
                                                    <asp:BoundField DataField="claim_id" HeaderText="Claim ID" />
                                                    <asp:BoundField DataField="card_number" HeaderText="Card No" />
                                                    <asp:BoundField DataField="term_id" HeaderText="Terminal ID" />
                                                    <asp:BoundField DataField="tran_date" HeaderText="Tran Date" />
                                                    <asp:BoundField DataField="tran_amount" HeaderText="Tran Amount" />
                                                    <asp:BoundField DataField="rrn" HeaderText="Reference No" />
                                                    <asp:BoundField DataField="claim_issuer" HeaderText="Claim Issuer" />
                                                    <asp:BoundField DataField="claim_status_desc" HeaderText="Status" />
                                                    <asp:BoundField DataField="sama_claim_status" HeaderText="Sama Status" />
                                                    <asp:BoundField DataField="duration_days" HeaderText="Duration" />
                                                    <asp:BoundField DataField="Claim_Reset_Flg" HeaderText="Reset?" />
                                                    <asp:BoundField DataField="last_commentator" HeaderText="last Inv. By" />
                                                    <asp:BoundField DataField="Parent_claim_id" HeaderText="Parent claim" />
                                                </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>
                                        <tr>
                                            <td class="tdNormal" style="width: 20%">
                                                Go To Page:
                                                <asp:DropDownList ID="DropDownList3" runat="server" class="fieldNormal" AutoPostBack="True"
                                                    Width="50px" OnSelectedIndexChanged="DropDownList3_SelectedIndexChanged">
                                                </asp:DropDownList>
                                            </td>
                                            <td class="tdNormal">
                                            </td>
                                            <td class="tdNormal">
                                            </td>
                                            <td class="tdNormal">
                                            </td>
                                            <td class="tdNormal">
                                            </td>
                                        </tr>
                                    </table>
                                </asp:Panel>
                                <table border="0" cellpadding="0" cellspacing="0" class="action_TB_BgaddItem">
                                    <tr>
                                        <td>
                                            <asp:Button ID="btnCancel" runat="server" Text="   Cancel   " class="Btn_M_Normal"
                                                CausesValidation="False" OnClick="btnCancel_Click" />
                                            <asp:Button ID="btnSave" runat="server" Text="   Save   " class="Btn_M_Normal" OnClick="btnSave_Click" />
                                        </td>
                                    </tr>
                                </table>
                            </asp:Panel>
                            <!------------------------------------body End2 ----------------------------------------------->
                            <br>
                        </td>
                    </tr>
                </table>
                <!------------------------------------body End2 ----------------------------------------------->
            </td>
        </tr>
    </table>
</asp:Content>
