<%@ Control Language="VB" AutoEventWireup="false" CodeFile="AffiliateFinishOrder.ascx.vb" Inherits="Controls_AffiliateFinishOrder" %>

<asp:Panel ID="pnlAlmostFinished" runat="server">
	<div class="dotruleCenter">
		<h2>You are almost finished…</h2>
		<table id="order" cellpadding="0" cellspacing="0">
			<tr>
				<td>
					<table cellpadding="0" cellspacing="0">
						<tr id="sub">
							<td style="color:red">COMPLETE YOUR ORDER – CALL NOW 1-866-974-5046</td>
						</tr>
						<tr>
							<td>
								<p>
									<span style="font-weight:bold">Please stand-by</span>. 
									<%=ChatContent%>
								</p>
								<p><asp:Literal ID="ltrFollowUpMessage" runat="server"></asp:Literal></p>
<!--Thank you for your order.  To complete your order and schedule your service start date, you must call Charter at <span style="font-weight:bold">1-866-974-5046</span> within 24 hours to avoid order cancellation.  Please have your confirmation receipt available for reference when speaking to the Charter Representative.  Open Mon – Fri 8am-11pm CST, Sat-Sun 9am-6pm CST.<br />-->
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
	</div> 
</asp:Panel>

<asp:Panel ID="pnlThankYou" runat="server">
	<div class="dotruleCenter">
		<h2>Thank You!</h2>
		<table id="order" cellpadding="0" cellspacing="0">
			<tr>
				<td>
					<table cellpadding="0" cellspacing="0">
						<tr id="sub">
							<td style="text-align:left"><asp:Label ID="lblEmailAddress" runat="server"></asp:Label></td>
						</tr>
						<tr>
							<td>
								<p style="text-align:left"><asp:Literal ID="ltrConfirmations" runat="server"></asp:Literal></p>
								<p style="text-align:left"><asp:Literal ID="ltrAppointments" runat="server"></asp:Literal></p>
								<p style="text-align:left"><asp:Literal ID="ltrElig" runat="server"></asp:Literal></p>
								<p class="disclaimer" style="text-align:left"><asp:Literal ID="ltrDisclaimer" runat="server"></asp:Literal></p>
						  	    <p style="text-align:left"><asp:HyperLink ID="lnkPrintReceipt" runat="server" NavigateUrl="~/Order/AffiliateReceipt.aspx" Target="_charter_receipt">Print a receipt</asp:HyperLink> for your records.</p>
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>
	</div>
</asp:Panel>

<asp:Panel ID="pnlFirstMonthPayment" runat="server" DefaultButton="btnGetReceipt" Visible="false">
	<h2>First Month's Payment</h2>
	
	<asp:RadioButtonList ID="rblFirstMonthPayment" runat="server" AutoPostBack="true" CausesValidation="false">
		<asp:ListItem Selected="True" Text="Pay at time of installation (COD)"></asp:ListItem>
		<asp:ListItem Text="Pay with bank account transfer"></asp:ListItem>
		<asp:ListItem Text="Pay with credit card"></asp:ListItem>
	</asp:RadioButtonList>
	
	<asp:Panel ID="pnlBankAccountInfo" runat="server" Visible="false">
		<table cellspacing="5">
      <tr>
        <th colspan="2">Bank Account Information</th>
      </tr>
      <tr>
        <td colspan="2">* Required</td>
      </tr>
      <tr>
        <td style="text-align:right">Amount Due:</td>
        <td><asp:Label ID="lblAmountDueBA" runat="server"></asp:Label></td>
      </tr>
      <tr>
        <td style="text-align:right">* Financial Institution:</td>
        <td>
					<asp:TextBox ID="txtInstitution" runat="server"></asp:TextBox>
					<asp:RequiredFieldValidator ID="vldInstitutionRequired" runat="server" ControlToValidate="txtInstitution" 
						Display="Dynamic" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
      </tr>
      <tr>
        <td style="text-align:right">* Routing Number:</td>
        <td>
					<asp:TextBox ID="txtRoutingNumber" runat="server"></asp:TextBox>
					<asp:RequiredFieldValidator ID="vldRoutingNumberRequired" runat="server" ControlToValidate="txtRoutingNumber" 
						Display="Dynamic" ErrorMessage="Required"></asp:RequiredFieldValidator>
        </td>
      </tr>
      <tr>
        <td style="text-align:right">* Account Number:</td>
        <td>
					<asp:TextBox ID="txtAccountNumber" runat="server"></asp:TextBox>
					<asp:RequiredFieldValidator ID="vldAccountNumberRequired" runat="server" ControlToValidate="txtAccountNumber" 
						Display="Dynamic" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
      </tr>
      <tr>
        <td style="text-align:right">* Account Type:</td>
        <td>
					<asp:DropDownList ID="ddlAccountType" runat="server">
						<asp:ListItem Text="" Value="0"></asp:ListItem>
						<asp:ListItem Text="Checking" Value="1"></asp:ListItem>
						<asp:ListItem Text="Saving" Value="2"></asp:ListItem>
					</asp:DropDownList>
					<asp:RequiredFieldValidator ID="vldAccountTypeRequired" runat="server" ControlToValidate="ddlAccountType" InitialValue="0" 
						Display="Dynamic" ErrorMessage="Required"></asp:RequiredFieldValidator>
        </td>
      </tr>
    </table>
	</asp:Panel>
	
	<asp:Panel ID="pnlCreditCardInfo" runat="server" Visible="false">
		<table cellspacing="5">
      <tr>
        <th colspan="2">Credit Card Information</th>
      </tr>
      <tr>
        <td colspan="2">* Required</td>
      </tr>
      <tr>
        <td style="text-align:right">Amount Due:</td>
        <td><asp:Label ID="lblAmountDueCC" runat="server"></asp:Label></td>
      </tr>
      <tr>
        <td style="text-align:right">* Name on Card:</td>
        <td>
					<asp:TextBox ID="txtNameOnCard" runat="server"></asp:TextBox>
					<asp:RequiredFieldValidator ID="vldNameOnCardRequired" runat="server" ControlToValidate="txtNameOnCard" 
						Display="Dynamic" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
      </tr>
      <tr>
        <td style="text-align:right">* Card Issuer:</td>
        <td>
					<asp:DropDownList ID="ddlCardIssuer" runat="server">
						<asp:ListItem Text="" Value="0"></asp:ListItem>
					</asp:DropDownList>
					<asp:RequiredFieldValidator ID="vldCardIssuerRequired" runat="server" ControlToValidate="ddlCardIssuer" InitialValue="0"
						Display="Dynamic" ErrorMessage="Required"></asp:RequiredFieldValidator>
        </td>
      </tr>
      <tr>
        <td style="text-align:right">* Card Number:</td>
        <td>
					<asp:TextBox ID="txtCardNumber" runat="server"></asp:TextBox>
					<asp:RequiredFieldValidator ID="vldCardNumberRequired" runat="server" ControlToValidate="txtCardNumber" 
						Display="Dynamic" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
      </tr>
      <tr>
        <td style="text-align:right">* Expiration Date:</td>
        <td>
					<asp:DropDownList ID="ddlExpirationMonth" runat="server">
						<asp:ListItem Text="" Value="0"></asp:ListItem>
						<asp:ListItem Text="January" Value="1"></asp:ListItem>
						<asp:ListItem Text="February" Value="2"></asp:ListItem>
						<asp:ListItem Text="March" Value="3"></asp:ListItem>
						<asp:ListItem Text="April" Value="4"></asp:ListItem>
						<asp:ListItem Text="May" Value="5"></asp:ListItem>
						<asp:ListItem Text="June" Value="6"></asp:ListItem>
						<asp:ListItem Text="July" Value="7"></asp:ListItem>
						<asp:ListItem Text="August" Value="8"></asp:ListItem>
						<asp:ListItem Text="September" Value="9"></asp:ListItem>
						<asp:ListItem Text="October" Value="10"></asp:ListItem>
						<asp:ListItem Text="November" Value="11"></asp:ListItem>
						<asp:ListItem Text="December" Value="12"></asp:ListItem>
					</asp:DropDownList>
					<asp:RequiredFieldValidator ID="vldExpirationMonthRequired" runat="server" ControlToValidate="ddlExpirationMonth" InitialValue="0"
						Display="Dynamic" ErrorMessage="Required"></asp:RequiredFieldValidator>
					<asp:DropDownList ID="ddlExpirationYear" runat="server">
						<asp:ListItem Text="" Value="0"></asp:ListItem>
					</asp:DropDownList>
					<asp:RequiredFieldValidator ID="vldExpirationYearRequired" runat="server" ControlToValidate="ddlExpirationYear" InitialValue="0"
						Display="Dynamic" ErrorMessage="Required"></asp:RequiredFieldValidator>
        </td>
      </tr>
    </table>
  </asp:Panel>
	
	<asp:Button ID="btnGetReceipt" runat="server" Text="Continue & Get Receipt" /> 	
</asp:Panel>

<asp:Panel ID="pnlRegisterNow" runat="server" Visible="false">
	<div class="dotruleCenter">
		<asp:Literal ID="ltrContent" runat="server"></asp:Literal>
		<asp:Button ID="btnRegisterNow" runat="server" Text="Register Now & Set up Automatic Bill Pay" />
	</div>
</asp:Panel>

