<%@ page language="C#" masterpagefile="~/MasterPages/Main.master" autoeventwireup="true" inherits="ClaimsSummary, App_Web_qdtis3h1" enableeventvalidation="false" viewStateEncryptionMode="Always" maintainScrollPositionOnPostBack="true" %>

<%@ Register Src="../UserControls/DatePicker.ascx" TagName="DatePicker" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
   <%-- <link rel="stylesheet" href="../css/demos.css" type="text/css" media="screen" />--%>
    <script src="../Scripts/RGraph.common.core.js"></script>
    <script src="../Scripts/RGraph.bar.js"></script>
    <script src="../Scripts/jquery.min.js"></script>
    <style>
	     .gridMaster2 {
		border-collapse:collapse;
		border: 1px solid #E3E8EA;
		background-color: #f7f7f7;
		direction:ltr;
	}
        
        
    .gridMaster2 th {
	border-collapse:collapse;
	background-image: none;
	background-repeat: repeat-x;
	height: 28px;
	color: white;
	font-size: 11px;
	background-position: bottom;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #E3E8EA;
	border-right-color: #E3E8EA;
	border-bottom-color: #FFFFFF;
	border-left-color: #E3E8EA;
	font-family: Tahoma;
	font-weight: normal;
	text-align: center;
	white-space: nowrap;
	vertical-align :middle ;
	}
	.gridMaster2 td {
	border-collapse:collapse;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 2px;
	border-left-width: 1px;
	border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: inset;
	border-left-style: solid;
	border-top-color: #E3E8EA;
	border-right-color: #E3E8EA;
	border-bottom-color: #FFFFFF;
	border-left-color: #E3E8EA;
	height: 17px;
	font-size: 12px;
	padding-right: 1px;
	padding-left: 1px;
	text-align: center;
	vertical-align:middle;
			
	font-family: "Times New Roman", Times, serif;
	}
	.gridMaster2 input#check{
		color: #FF0000;
		height: 15px;
		
	}
	</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <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 Summary
                                </td>
                            </tr>
                        </table>
                        <!------------------------------------body End1 ----------------------------------------------->
                        <table border="0" cellpadding="0" cellspacing="0" class="contTB">
                            <tr>
                                <td align="center">
                                    <table border="0" cellpadding="0" cellspacing="0" class="Frow" width="100%">
                                        <tr>
                                            <td>
                                            </td>
                                        </tr>
                                    </table>
                                    <br />
                                    <table border="0" cellpadding="0" cellspacing="0" class="add_ItemTB" width="100%">
                                        <tr>
                                            <td class="tdNormal">
                                                <asp:RadioButton ID="rdClaimOnUS" Text="OnUs-Claim" GroupName="rd" runat="server"
                                                    AutoPostBack="False" Checked="True" />
                                                <asp:RadioButton ID="rdClaimOn" Text="On-Claim " GroupName="rd" runat="server" AutoPostBack="False" />
                                                <asp:RadioButton ID="rdClaimOff" Text="Off-Claim " GroupName="rd" runat="server"
                                                    AutoPostBack="False" />
                                                <asp:Button ID="btnSearch" runat="server" CssClass="Btn_L_Normal" OnClick="btnSearch_Click"
                                                    OnClientClick="" Text="Search" />
                                            </td>
                                            <td>
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                                <td class="tdNormal">
                                    <td class="tdNormal">
                                        &nbsp;
                                    </td>
                                    <td class="tdNormal">
                                        &nbsp;
                                    </td>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="5" style="text-align: center">
                                    <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Button" Visible="false" />
                                    <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="Button" Visible="false" />
                                </td>
                            </tr>
                        </table>
                        <br>
                        <asp:Label ID="lblError" runat="server" class="fieldError" Text=""></asp:Label>
                        <%--    <table border="0" cellpadding="0" cellspacing="0" class="add_ItemTB" width="100%">
                            <tr>
                                <td colspan="5">
                                    <canvas id="cvs" height="250" width="900"></canvas>
                                </td>
                            </tr>
                        </table>--%>
                        <br />
                        <table id="tbl_ClaimSummary" runat="server" border="1" cellpadding="0" cellspacing="0"
                            class="add_ItemTB" width="100%">
                            <tr>
                                <td class="tdNormal" colspan="3" style="width: 60%; vertical-align: top">
                                    <asp:GridView ID="GridView1" runat="server" AllowPaging="False" AllowSorting="False"
                                        AutoGenerateColumns="False" CellPadding="4" CssClass="gridMaster2" EmptyDataText="There are no Results"
                                        ForeColor="#333333" GridLines="None" OnRowCommand="GridView1_RowCommand1" OnRowDataBound="GridView1_RowDataBound"
                                        OnSelectedIndexChanged="GridView1_SelectedIndexChanged" Width="100%" EnableModelValidation="True">
                                        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                        <RowStyle BackColor="#F7F6F3" ForeColor="#333333" HorizontalAlign="Right" />
                                       
                                        <Columns>
                                           
                                            <asp:BoundField DataField="Aging_Days" HeaderText="" HeaderStyle-Font-Bold="true" />
                                            <asp:BoundField DataField="Entered" HtmlEncode="false" HeaderText=""
                                                Visible="false" HeaderStyle-Font-Bold="true" />
                                            <asp:BoundField DataField="SAMAClaim_CPS_Pending" HtmlEncode="false" HeaderText=""
                                                Visible="false" HeaderStyle-Font-Bold="true" />
                                            <asp:BoundField DataField="Approved" HtmlEncode="false" HeaderText=" "
                                                Visible="false" HeaderStyle-Font-Bold="true" />
                                            <asp:BoundField DataField="Entered_pending" HtmlEncode="false" HeaderText=""
                                                Visible="false" HeaderStyle-Font-Bold="true" />
                                             <%--5--%>
                                             <asp:BoundField DataField="PreApproved" HtmlEncode="false" HeaderText=""
                                                Visible="false" HeaderStyle-Font-Bold="true" />
                                            <asp:BoundField DataField="PreApproved_Pending" HtmlEncode="false" HeaderText=""
                                                Visible="false" HeaderStyle-Font-Bold="true" />
                                         
                                           <asp:BoundField  DataField="Entered_SamaAccept" HtmlEncode="false" HeaderText=""
                                                Visible="false" HeaderStyle-Font-Bold="true" />
                                            <asp:BoundField DataField="Entered_SamaReject" HtmlEncode="false" HeaderText=""
                                                Visible="false" HeaderStyle-Font-Bold="true" />
                                         <asp:BoundField DataField="Approved_Pending" HtmlEncode="false" HeaderText=""
                                                Visible="false" HeaderStyle-Font-Bold="true" />
                                         
                                            <%--   10  --%>
                                            <asp:BoundField DataField="PreApproved_SamaAccept" HtmlEncode="false" HeaderText=""
                                                Visible="false" HeaderStyle-Font-Bold="true" />
                                            <asp:BoundField DataField="PreApproved_SamaReject" HtmlEncode="false" HeaderText=""
                                                Visible="false" HeaderStyle-Font-Bold="true" />
                                            <asp:BoundField DataField="Posted" HtmlEncode="false" HeaderText="" Visible="false"
                                                HeaderStyle-Font-Bold="true" />
                                          
                                            <asp:BoundField DataField="Approved_SamaAccept" HtmlEncode="false" HeaderText=""
                                                Visible="false" HeaderStyle-Font-Bold="true" />
                                            <asp:BoundField DataField="Approved_SamaReject" HtmlEncode="false" HeaderText=""
                                                Visible="false" HeaderStyle-Font-Bold="true" />
                                            <%--   15 --%>
                                            <asp:BoundField DataField="Posted_Pending" HtmlEncode="false" HeaderText=""
                                                Visible="false" HeaderStyle-Font-Bold="true" />
                                            <asp:BoundField DataField="Posted_SamaAccept" HtmlEncode="false" HeaderText=""
                                                Visible="false" HeaderStyle-Font-Bold="true" />
                                            <asp:BoundField DataField="Posted_SamaReject" HtmlEncode="false" HeaderText=""
                                                Visible="false" HeaderStyle-Font-Bold="true" />
                                            <asp:BoundField DataField="PreApproved_Pending" HtmlEncode="false" HeaderText=""
                                                Visible="false" HeaderStyle-Font-Bold="true" />
                                            <asp:BoundField DataField="Approved_Pending" HtmlEncode="false" HeaderText=""
                                                Visible="false" HeaderStyle-Font-Bold="true" />
                                            <%--  20  --%>
                                            <asp:BoundField DataField="SAMAClaim_CPS_SamaAccept" HtmlEncode="false" HeaderText=""
                                                Visible="false" HeaderStyle-Font-Bold="true" />
                                            <asp:BoundField DataField="SAMAClaim_CPS_SamaReject" HtmlEncode="false" HeaderText=""
                                                Visible="false" HeaderStyle-Font-Bold="true" />
                                            <asp:BoundField DataField="Rejected" HtmlEncode="false" HeaderText="Rejected " Visible="false"
                                                HeaderStyle-Font-Bold="true" />
                                            <asp:BoundField DataField="Declined" HtmlEncode="false" HeaderText="Declined" Visible="false"
                                                HeaderStyle-Font-Bold="true" />
                                            <asp:BoundField DataField="Declined_SamaReject" HtmlEncode="false" HeaderText=""
                                                Visible="false" HeaderStyle-Font-Bold="true" />
                                            <%--  25  --%>
                                              <asp:BoundField DataField="SAMAClaim_CPS_NoAction" HtmlEncode="false" HeaderText=""
                                                Visible="false" HeaderStyle-Font-Bold="true" />
                                                
                                            <asp:ButtonField CommandName="ColumnClick" Visible="false" HeaderStyle-Font-Bold="true" />
                                        </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>
                                    <asp:LinkButton ID="lnkDummy" runat="server"></asp:LinkButton>
                                </td>
                                <td class="tdNormal" colspan="2">
                                    <%-- <canvas id="cvs1" height="200" style="border: 1px solid #eee" width="400">[No canvas support]</canvas>--%>
                                </td>
                            </tr>
                             <br /> <br />
                            <tr>
                                <td colspan="5">
                                    <asp:Panel ID="Panel1" runat="server" Visible="false">
                                        <table border="0" width="100%" cellpadding="0" cellspacing="0" class="add_ItemTB">
                                            <tr>
                                                <td class="tdNormal" colspan="5"
                                                    <asp:GridView ID="GridView2" 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" EnableModelValidation="True">
                                                        <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_type" HeaderText="Claim Type" />
                                                            <%--    <asp:BoundField DataField="Claim_Reset_Flg" HeaderText="Reset?" />--%>
                                                            <asp:HyperLinkField DataNavigateUrlFields="claim_id" DataNavigateUrlFormatString="~/POS/InvestigateClaim.aspx?clid={0}"
                                                                HeaderText="Investigate" Target="_blank" Text="Open" />
                                                        </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>
                                </td>
                            </tr>
                        </table>
                        <!------------------------------------body End2 ----------------------------------------------->
                    </td>
                </tr>
            </table>
            <!------------------------------------body End2 ----------------------------------------------->
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
