<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AccountOverView.aspx.cs" Inherits="TruxWebPortal.AccountOverview" %>

<%@ Register TagPrefix="ucHeader" TagName="truxHeader" Src="header.ascx" %>
<%@ Register TagPrefix="ucFooter" TagName="truxFooter" Src="footer.ascx" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">

    <head id="HeadAccountOverview" runat="server">
        <title>My Account</title>
        <link rel="stylesheet" type="text/css" href="_style/stylesheet.css" title="TRUX7" />

    </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">
                    <asp:Panel ID="pnlStart" runat="server" Visible="true">
                        <div id="getting_started">
                            <div class="title_bar">
                                Getting Started Managing Your Account
                            </div>
                            <!-- close Title Bar -->
                            <p>So what can I do now? Here are some ideas to get you started:</p>
                            <ul>
                                <li runat="server" id="myInvoices"><a href="BillAndPayments.aspx">Pay and Print My Invoices</a></li>
                                <li runat="server" id="myServices"><a href="Services.aspx">View My Services</a></li>
                                <li runat="server" id="myTickets"><a href="MyTickets.aspx">View My Tickets</a></li>
                                <li runat="server" id="myDisposalTickets"><a href="DisposalTickets.aspx">View My Disposal Tickets</a></li>
                                <li runat="server" id="myWorkOrders"><a href="WorkOrders.aspx">View and Print My Work Orders</a></li>
                                <li runat="server" id="myStatements"><a href="Statements.aspx">Print My Statements</a></li>
                                <li runat="server" id="myProfile"><a href="MyProfilePage.aspx">Setup Another Account</a></li>
                            </ul>
                            <p>Don’t forget there is <a href="#">full online help</a> available, and you can contact Customer Care if you get stuck.</p>
                        </div>
                        <!-- close Getting Started -->
                    </asp:Panel>

                    <div style="overflow: auto;">
                        <div style="float: left">
                            <h1>My Account </h1>
                        </div>
                        <div style="float: right">
                            <a href="Announcements.aspx" target="_blank"><span runat="server" id="announcementLabel" style="color: red; font-family: 'myriad pro'; font-size: 15px; font-weight: bold; text-decoration: underline;">Announcements</span></a>
                        </div>
                    </div>
                    <p class="description">
                        <span id="Span19">
                            <asp:Label ID="lblDesc" runat="server"></asp:Label><a href="_help/my_account.aspx" target="_blank"><img style="margin-left: 5px; vertical-align: middle; width: 18px;" src="_images/help.png" /></a>
                        </span>
                    </p>
                    <br />

                    <div id="customer_information">
                        <div class="title_bar_blk">
                            Customer Information
                        </div>
                        <!-- close Title Bar -->

                        <div id="status_bar">
                            <p>
                                <span class="label">Account No.:</span> <span id="Span1" class="data">
                                                                            <asp:Label ID="lblAccount" runat="server" Text="Customer"></asp:Label></span>
                                <span class="label">Phone:</span> <span id="Span2" class="data">
                                                                      <asp:Label ID="lblPhone" runat="server" Text="Phone"></asp:Label></span>
                                <span class="label">Fax:</span> <span id="Span3" class="data">
                                                                    <asp:Label ID="lblFax" runat="server" Text="Fax"></asp:Label></span>
                            </p>
                        </div>
                        <!-- close Status Bar -->

                        <table class="customer_address">
                            <tr>
                                <td>
                                    <asp:Label ID="lblAddress" runat="server"></asp:Label>
                                </td>
                                <td>
                                    <asp:Panel ID="pnlMAddress" runat="server" Visible="false">
                   
                                        <asp:Label ID="lblMAddress" runat="server"></asp:Label>

                                    </asp:Panel>
                                </td>
                            </tr>

                        </table>

   
                    </div>
                    <!-- close customer information -->

                    <div id="bill_information">

                        <div class="title_bar_blk">
                            Account Information
                        </div>
                        <!-- close Title Bar -->

                        <table id="payment_info">
                            <tr>
                                <td class="label">Last Payment:</td>
                                <td class="data" colspan="2">$<span id="Span16"><asp:Label ID="lblLastPayment" runat="server" Text="Last Payment"></asp:Label></span></td>
                            </tr>
                            <tr>
                                <td class="label">Received On:</td>
                                <td class="data" colspan="2"><span id="Span17">
                                                     <asp:Label ID="lblReceivedDate" runat="server" Text="Receive Date"></asp:Label></span></td>
                            </tr>
                        </table>

                        <div id="current_balance">
                            Current Balance:
                            <br />
                            <span class="large_amount"><span id="Span18">
                                                           <asp:Label ID="lblBalance" runat="server" Text="Balance"></asp:Label></span></span><br />
                            <img id="imgPayAll" runat="server" class="inline_mini_icon" src="_images/login_arrow_mini_icon.png" />
                            <%--        <a href="#">Pay My Current Balance</a> --%>
                            <asp:LinkButton ID="btnPayAll" OnClick="btnPayAll_Click"
                                            runat="server">Pay My Current Balance</asp:LinkButton><a href="_help/my_invoices.aspx#paymybalance" target="_blank"><img style="margin-left: 5px; vertical-align: middle; width: 18px;" src="_images/help.png" /></a>
                            <br />
                        </div>

                    </div>
                    <!-- close billing information -->
                    
                    <div id="CreditLimit" runat="server">
                                
                              <p>Setup prepaid account minimum balance (credit limit):
                                    <asp:TextBox ID="txtCreditLimit" type="number" min="0.00" step="0.01" runat="server" BackColor="#FFFFCC" style="text-align: right;width:150px"></asp:TextBox>
                             
                               <asp:Button ID="btnCreditLimit" runat="server" Text="Save" CssClass="default_button" style="width: auto; height: auto;margin-left: 0" OnClick="btnCreditLimit_Click" />
                                  </p>
                        <p>Value must be between (0.00 - <span runat="server" id="maxCreditLimit">100</span>)</p>
                         
                    </div>
                    
                    <div id="email_invoice">
                        <div style="font-weight: bold;">
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                            <p class="frm_error_lbl">
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                                <asp:Label ID="lblEmailMsg" runat="server" ForeColor="Red"></asp:Label>
                            </p>
                        </div>

                    </div>
                    <!-- close Scheduled Service -->

                </div>
                <!-- close work_area -->

            </div><!-- close main_area -->
            <br />
            <ucFooter:truxFooter ID="Ftr1" runat="server"></ucFooter:truxFooter>
        </form>
    </body>
</html>