<%@ page language="C#" masterpagefile="~/MasterPages/Main.master" autoeventwireup="true" inherits="POS_ClaimHistory, App_Web_wbvr1n5o" viewStateEncryptionMode="Always" maintainScrollPositionOnPostBack="true" %>
<%@ Register src="../UserControls/DatePicker.ascx" tagname="DatePicker" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</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>
                            Claims History
                        </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 style="display:none">
                                    <td class="tdNormal">
                                        Claim Type
                                    </td>
                                    <td class="tdNormal" colspan=4>
                                        <asp:RadioButton ID="rdATM" AutoPostBack=true Text="ATM" GroupName=1 runat="server" Checked=true 
                                            oncheckedchanged="rdATM_CheckedChanged"/>
                                        <asp:RadioButton ID="rdPOS" AutoPostBack=true Text="POS" GroupName=1 runat="server" 
                                            oncheckedchanged="rdPOS_CheckedChanged" />
                                    </td>
                                </tr>
                                <tr>
                                    <td class="tdNormal">
                                        Claim ID
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtClaimID" runat="server" class="fieldNormal" Width="250"></asp:TextBox>
                                    </td>
                                    <td class="tdNormal">
                                    </td>
                                    <td class="tdNormal">
                                        
                                    </td>
                                    <td class="tdNormal">
                                        
                                    </td>
                                </tr>
                                <tr runat="server" id="rowATM">
                                    <td class="tdNormal">
                                        Reference Number
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtReference" runat="server" class="fieldNormal" Width="250"></asp:TextBox>
                                    </td>
                                    <td class="tdNormal">
                                    </td>
                                    <td class="tdNormal">
                                        Card Number
                                    </td>
                                    <td class="tdNormal">
                                        <asp:TextBox ID="txtCardNumber" runat="server" class="fieldNormal" Width="250"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr runat="server" id="rowPOS">
                                    <td class="tdNormal">
                                        Client Number
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtClientNo" runat="server" class="fieldNormal" Width="250"></asp:TextBox>
                                    </td>
                                    <td class="tdNormal">
                                    </td>
                                    <td class="tdNormal">
                                        Terminal ID
                                    </td>
                                    <td class="tdNormal">
                                        <asp:TextBox ID="txtTermID" runat="server" class="fieldNormal" Width="250"></asp:TextBox>
                                    </td>
                                </tr>
                                <tr runat="server" id="rowPOS2">
                                    <td class="tdNormal">
                                        Retailer ID
                                    </td>
                                    <td>
                                        <asp:TextBox ID="txtRetailerID" runat="server" class="fieldNormal" Width="250"></asp:TextBox>
                                    </td>
                                    <td class="tdNormal">
                                    </td>
                                    <td class="tdNormal">
                                    </td>
                                    <td class="tdNormal">
                                    </td>
                                </tr>
                                <tr>
                                    <td class="tdNormal">
                                        Claim Status
                                    </td>
                                    <td>
                                        <asp:DropDownList ID="ddlClaimType" runat="server" DataTextField="CLAIM_STATUS_DESC" 
                                        Width="250px" DataValueField="CL_CODE" class="fieldNormal" AutoPostBack="False" ></asp:DropDownList>
                                    </td>
                                    <td class="tdNormal">
                                    </td>
                                    <td class="tdNormal">
                                        
                                    </td>
                                    <td class="tdNormal">
                                        
                                    </td>
                                </tr>


                                <tr>
                                    <td class="tdNormal">
                                        Transaction Date
                                    </td>
                                    <td>
                                        <uc1:datepicker id="dtTranDate" runat="server" width="250" />
                                    </td>
                                    <td class="tdNormal">
                                    </td>
                                    <td class="tdNormal">
                                        
                                    </td>
                                    <td class="tdNormal">
                                        
                                    </td>
                                </tr>

                                <tr>
                                    <td colspan="5" style="text-align: center">
                                        <asp:Button ID="btnSearch" runat="server" Text="Search" CssClass="Btn_L_Normal"
                                            OnClientClick="" OnClick="btnSearch_Click" />
                                    </td>
                                </tr>
                            </table>
                            <br />
                            <asp:Label ID="lblError" runat="server" Text="" class="fieldError"></asp:Label>
                            <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"
                                            DataKeyNames="claim_id" AllowPaging="True" AllowSorting="True" CellPadding="4"
                                            ForeColor="#333333" GridLines="None" EmptyDataText="There are no Results" 
                                            onrowcommand="GridView1_RowCommand" onrowcreated="GridView1_RowCreated" >
                                            <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" HorizontalAlign="Right" Wrap="true" />
                                            <Columns>
                                                <asp:BoundField DataField="claim_id" HeaderText="Claim ID" />
                                                <asp:BoundField DataField="card_number" HeaderText="Card No" />
                                                <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="WHO_DID" HeaderText="User" />
                                                <asp:BoundField DataField="What_Action" HeaderText="Action" />
                                                <asp:BoundField DataField="When_DID" HeaderText="Action Time" />
                                                <asp:BoundField DataField="MESSAGE_TEXT" HeaderText="Claim Note" />
                                                <asp:BoundField DataField="org_claim_id" HeaderText="Sama Claim ID" />
                                                  <asp:ButtonField ButtonType="Image" ItemStyle-Width="30px" CommandName="v" Text="View"
                                                    ImageUrl="~/Images/document_view.jpg"></asp:ButtonField>
                                                 <asp:BoundField DataField="when_did" HeaderText="when_did" />
                                            </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>
                      
                            
                              <asp:Panel ID="pnlClaim" runat ="server" Visible= "false"  >
                          
                                     <fieldset id="addItem">
                                        <legend id="addItem">Claim Details</legend>
                                    </fieldset>
                                     <table border="0" width="100%" cellpadding="0" cellspacing="0" class="add_ItemTB">
                                <tr>
                                    <td class="tdNormal" style="width: 15%">
                                        Claim ID</td>
                                    <td class="tdNormal" style="width: 30%">
                                        <asp:Label ID="lblClaim" runat="server" Text="Label" class="fieldNormal"></asp:Label>
                                    </td>
                                    <td class="tdNormal" style="width: 10%">
                                    </td>
                                    <td class="tdNormal" style="width: 15%">
                                        <asp:Label ID="lblSamaClaimId1" runat="server" Text="SAMA Claim ID"></asp:Label>
                                    </td>
                                    <td class="tdNormal" style="width: 30%">
                                        <asp:Label ID="lblSamaClaimId" runat="server" Text="Label" class="fieldNormal"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblClaimStatus1" runat="server" Text="Claim Status"></asp:Label>
                                        </td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblClaimStatus" runat="server" class="fieldNormal" Text="Label"></asp:Label>
                                    </td>
                                    <td class="tdNormal">
                                    </td>
                                    <td class="tdNormal">
                                        Event</td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblEventCode" runat="server" class="fieldNormal" Text="Label"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="tdNormal">
                                        Last Modified by</td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblLastAmendmentDate" runat="server" Text="Label" 
                                            class="fieldNormal"></asp:Label>
                                    </td>
                                    <td class="tdNormal">
                                    </td>
                                    <td class="tdNormal">
                                        Card Number</td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblCardNo" runat="server" Text="Label" class="fieldNormal"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="tdNormal">
                                        Transaction Date</td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblTransactionDate" runat="server" Text="Label" 
                                            class="fieldNormal"></asp:Label>
                                    </td>
                                    <td class="tdNormal">
                                    </td>
                                    <td class="tdNormal">
                                        Transaction Time</td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblTransactionTime" runat="server" Text="Label" 
                                            class="fieldNormal"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="tdNormal">
                                        Terminal ID</td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblTerminalID" runat="server" Text="Label" class="fieldNormal"></asp:Label>
                                    </td>
                                    <td class="tdNormal">
                                    </td>
                                    <td class="tdNormal">
                                        Transaction Currency</td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblTransactionCurrency" runat="server" Text="Label" 
                                            class="fieldNormal"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblTransactionAmount1" runat="server" Text="Transaction Amount"></asp:Label>
                                        </td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblTransactionAmount" runat="server" Text="Label" 
                                            class="fieldNormal"></asp:Label>
                                    </td>
                                    <td class="tdNormal">
                                    </td>
                                    <td class="tdNormal">
                                        Process Code</td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblProcessCode" runat="server" Text="Label" class="fieldNormal"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="tdNormal">
                                        Trace ID</td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblTraceID" runat="server" Text="Label" class="fieldNormal"></asp:Label>
                                    </td>
                                    <td class="tdNormal">
                                    </td>
                                    <td class="tdNormal">
                                        Authorization Code</td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblAuthorizationCode" runat="server" Text="Label" 
                                            class="fieldNormal"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="tdNormal">
                                        RRN</td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lbl_RRN" runat="server" Text="Label" class="fieldNormal"></asp:Label>
                                    </td>
                                    <td class="tdNormal">
                                    </td>
                                    <td class="tdNormal">
                                        Financial Flag</td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblFinancialFlag" runat="server" Text="Label" 
                                            class="fieldNormal"></asp:Label>
                                    </td>
                                </tr>
                                <tr>
                                    <td class="tdNormal">
                                        Claim Source</td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblClaimSource" runat="server" Text="Label" class="fieldNormal"></asp:Label>
                                    </td>
                                    <td class="tdNormal">
                                    </td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblClaimType1" runat="server" Text="Claim Type"></asp:Label>
                                        </td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblClaimType" runat="server" Text="Label" class="fieldNormal"></asp:Label>
                                       </td>
                                </tr>
                                <tr>
                                    <td class="tdNormal">
                                        Claim Currency</td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblClaimCurrency" runat="server" Text="Label" 
                                            class="fieldNormal"></asp:Label>
                                    </td>
                                    <td class="tdNormal">
                                    </td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblClaimAmount1" runat="server" Text="Claim Amount"></asp:Label>
                                        </td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblClaimAmount" runat="server" Text="Label" class="fieldNormal"></asp:Label>
                                       </td>
                                </tr>
                                <tr>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblSAMAFileID1" runat="server" Text="Sama File ID"></asp:Label>
                                        </td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblSAMAFileID" runat="server" Text="Label" class="fieldNormal"></asp:Label>
                                    </td>
                                    <td class="tdNormal">
                                    </td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblOnUsFileID1" runat="server" Text="On Us File ID"></asp:Label>
                                        </td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblOnUsFileID" runat="server" Text="Label" class="fieldNormal"></asp:Label>
                                       </td>
                                </tr>                         
                                <tr>
                                    <td class="tdNormal">
                                        Issuer Bank</td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblIssuerBank" runat="server" Text="Label" class="fieldNormal"></asp:Label>
                                    </td>
                                    <td class="tdNormal">
                                    </td>
                                    <td class="tdNormal">
                                        Acquirer Bank</td>
                                        <td class="tdNormal">
                                        <asp:Label ID="lblAcquirerBank" runat="server" Text="Label" class="fieldNormal"></asp:Label>
                                       </td>
                                </tr>      
                                <tr>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblMessageText1" runat="server" Text="Message Text" ></asp:Label>
                                        </td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblMessageText" runat="server" Text="Label" class="fieldNormal"></asp:Label>
                                    </td>
                                    <td class="tdNormal">
                                    </td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblNoteText1" runat="server" Text="Note Text"></asp:Label>
                                        </td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblNoteText" runat="server" Text="Label" class="fieldNormal"></asp:Label>
                                       </td>
                                </tr>                             
                                <tr>
                                    <td class="tdNormal">
                                        Parent Claim ID</td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblParentClaimID" runat="server" Text="Label" 
                                            class="fieldNormal"></asp:Label>
                                    </td>
                                    <td class="tdNormal">
                                    </td>
                                    <td class="tdNormal">
                                        Client Number</td>
                                    <td class="tdNormal">
                                       
                                        <asp:Label ID="lblClientNumber" runat="server" Text="Label" class="fieldNormal"></asp:Label>
                                       
                                    </td>
                                </tr>
                                <tr>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblSAMAStatus1" runat="server" Text="SAMA Status"></asp:Label>
                                        </td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblSAMAStatus" runat="server" Text="Label" class="fieldNormal"></asp:Label>
                                    </td>
                                    <td class="tdNormal">
                                    </td>
                                    <td class="tdNormal">
                                        Product</td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblProduct" runat="server" Text="Label" class="fieldNormal"></asp:Label>
                                       </td>
                                </tr>
                                <tr>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblToAccount1" runat="server" Text="To Account"></asp:Label>
                                        </td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblToAccount" runat="server" class="fieldNormal" Text="Label"></asp:Label>
                                    </td>
                                    <td class="tdNormal">
                                    </td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblFromAccount1" runat="server" Text="From Account"></asp:Label>
                                        </td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblFromAccount" runat="server" Text="Label" class="fieldNormal"></asp:Label>
                                       </td>
                                </tr>
                                <tr>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblNewRRN1" runat="server" Text="New RRN"></asp:Label>
                                        </td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblNewRRN" runat="server" class="fieldNormal" Text="Label"></asp:Label>
                                    </td>
                                    <td class="tdNormal">
                                    </td>
                                    <td class="tdNormal">
                                        &nbsp;</td>
                                    <td class="tdNormal">
                                        &nbsp;</td>
                                </tr>
                                <tr>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblCreditIssuer1" runat="server" Text="Credit Issuer"></asp:Label>
                                        </td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblCreditIssuer" runat="server" Text="Label" class="fieldNormal"></asp:Label>
                                    </td>
                                    <td class="tdNormal">
                                    </td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblCreditAcquirer1" runat="server" Text="Credit Acquirer"></asp:Label>
                                        </td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblCreditAquirer" runat="server" Text="Label" 
                                            class="fieldNormal"></asp:Label>
                                       </td>
                                </tr>

                                <tr>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblDebitIssuer1" runat="server" Text="Debit issuer"></asp:Label>
                                        </td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblDebitIssuer" runat="server" Text="Label" class="fieldNormal"></asp:Label>
                                    </td>
                                    <td class="tdNormal">
                                        &nbsp;</td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblDebitAcquirer1" runat="server" Text="Debit Acquirer"></asp:Label>
                                        </td>
                                    <td class="tdNormal">
                                        <asp:Label ID="lblDebitAcquirer" runat="server" Text="Label" 
                                            class="fieldNormal"></asp:Label>
                                    </td>
                                </tr>                                       
                                         
                            </table>
                              <table border="0" cellpadding="0" cellspacing="0" class="action_TB_BgaddItem">
                                                                        <tr>
                                                                            <td>
                                                                                <asp:Button ID="btnCancel" runat="server" Text="   Cancel   " OnClick="btnCancel_Click"
                                                                                    class="Btn_M_Normal" CausesValidation="False" />
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                             </asp:Panel>
                             
                            <!------------------------------------body End2 ----------------------------------------------->
                            <br />
                          

                        
                <!------------------------------------body End2 ----------------------------------------------->
            </td>
        </tr>
    </table>
             </td>
        </tr>
    </table>
</asp:Content>
