<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PayNowResult.aspx.cs" Inherits="TruxWebPortal.PayNowResult" %>
<%@ Register TagPrefix="ucHeader" TagName="truxHeader" Src="header.ascx" %>
<%@ Register TagPrefix="ucFooter" TagName="truxFooter" Src="footer.ascx" %>
<%@ PreviousPageType VirtualPath="PayNow.aspx" %> 

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Payment Receipt</title>
    <link rel="stylesheet" type="text/css" href="_style/stylesheet.css" title="TRUX7" />
       
    <script src="styleswitch.js" type="text/javascript"></script>
</head>
<body>    
    <form id="form1" runat="server" autocomplete="off">
    <ucHeader:truxHeader id="Hdr1" runat="server"></ucHeader:truxHeader>
    <div id="main_area">
    <div id="work_area">    
    <h1>Payment Received</h1>
    <p class="intro_text"> A copy of this page has been emailed to your registered email address.</p>
    <div id="payment_results">
    
    	<div id="company_logo"><img src="_images/company_logoOnReceipt.png"  /></div>
    	
        <div id="company_address">
        	<p>
                <asp:Label ID="lblcmpAddr" CssClass="data" runat="server"/>
                <br/>
                <span class="label">Phone:</span>
                <asp:Label ID="lblPhone" CssClass="data" runat="server"/>
                <span class="label">Fax:</span>
                <asp:Label ID="lblFax" CssClass="data" runat="server"/>
                <br/>
                <span class="label">Email:</span>
                <asp:HyperLink ID="lblEmail" CssClass="data" runat="server" />
                <span class="label">Web:</span>
                <asp:HyperLink ID="lblWeb" CssClass="data" runat="server" />
            </p>
        </div>
        
        <div id="center_title">
        	<p>PAYMENT RECEIPT</p>
        </div>
        
        <div id="payment_details">
        	<p><span class="label">Payment Date:</span><asp:Label ID="lblPaymentDate" CssClass="data" runat="server"/> </p>
        
        	<p>
                <span class="label">Account No.:</span> <asp:Label ID="lblAccount" CssClass="data" runat="server"/> 
                <span class="label">Phone:</span> <asp:Label ID="lblAccountPhone" CssClass="data" runat="server"/>
                <span class="label">Fax:</span> <asp:Label ID="lblAccountFax" CssClass="data" runat="server"/>
            </p>
		
	         <p><span class="label">Total Amount Charged:</span><asp:Label ID="lblTotalCharge" CssClass="data" runat="server"/></p>	
             <p><asp:Label ID="lblCCProcFeeLabel" CssClass="label" runat="server"></asp:Label><asp:Label ID="lblCCProcFee" CssClass="data" runat="server"></asp:Label></p>
    	     <p><span class="label">Payment Method:</span> <asp:Label ID="lblPaymentMethod" CssClass="data" runat="server"/></p>         
     	     <p><span class="label">Authorization Code:</span> <asp:Label ID="lblAuthorizationCode" CssClass="data" runat="server"/></p>         
        </div>
         
       
        <div class="mGrid_titlebar">
        	<p>Payment Breakdown</p>
        </div>
        <asp:GridView ID="gvInvoiceDetail" runat="server" AutoGenerateColumns="False" 
            GridLines="None" CssClass="mGrid" AllowPaging="True" AllowSorting="True">
            <RowStyle HorizontalAlign="Right" />
            <Columns>
                <asp:BoundField HeaderText="Invoice" DataField="Invoice" SortExpression="Invoice" />
                <asp:BoundField HeaderText="Invoice Date" DataField="InvoiceDate" SortExpression="InvoiceDate" />                
                <asp:BoundField HeaderText="Payment Amount"  DataField="PaymentAmount" SortExpression="PaymentAmount"   DataFormatString="{0:c2}">
                    <HeaderStyle CssClass="money" />
                    <ItemStyle cssClass="money" />
                </asp:BoundField>                  
                <asp:BoundField HeaderText="Balance Remaining"  DataField="BalanceRemaining" SortExpression="BalanceRemaining"   DataFormatString="{0:c2}">
                    <HeaderStyle CssClass="money" />
                    <ItemStyle cssClass="money" />
                </asp:BoundField>                                 
            </Columns>
            <headerstyle CssClass="col_headers"></headerstyle>        
            <PagerStyle CssClass="pgr"></PagerStyle>
            <AlternatingRowStyle CssClass="alt_row"></AlternatingRowStyle>            
        
<AlternatingRowStyle CssClass="alt_row"></AlternatingRowStyle>
        </asp:GridView>
    
    </div><!-- close Payment Results -->
    
	<p id="bottom_links"><a href="AccountOverview.aspx">Return to My Account</a><a href="javascript:window.print();">Print This Page</a><a href="BillAndPayments.aspx">Pay Another Invoice</a></p>
 
    </div>
    </div>
    <div style="clear:both;"></div>   
    <ucfooter:truxfooter id="Ftr1" runat="server"></ucfooter:truxfooter>
    </form>    

</body>
</html>
