SummerBestWebForm2/Components/Pages/Home.razor

546 lines
31 KiB
Plaintext
Raw Normal View History

2025-05-30 03:35:54 -04:00
@rendermode InteractiveServer
@inject PersistentComponentState ApplicationState
2025-05-30 03:58:16 -04:00
@inject ClassObj.IPAddressService IpAddressService
2025-05-29 14:04:36 -04:00
@page "/"
2025-05-15 05:21:00 -04:00
2025-05-15 06:40:41 -04:00
<PageTitle>Welcome</PageTitle>
2025-05-15 05:21:00 -04:00
2025-06-19 12:22:23 -04:00
@if (ProgramClosed)
{
<div class="container">
<div class="row">
<div class="col-12 text-center mt-5">
<h1>Thank you for your interest!</h1>
<p>Unfortunately, the enrollment period for our Summer Growth Campaign has drawn to a close.</p>
<p>Stay tuned for more great campaigns in the future!</p>
<p><i class="fa-solid fa-heart"></i></p>
</div>
<div class="col-12 text-center">
<img class="img-fluid" src="/img/34d1685e-d655-421b-aef8-e077140534f9.png" alt="Thank You!" />
</div>
</div>
</div>
}
else if (ShowWizard)
2025-05-15 06:40:41 -04:00
{
2025-05-30 03:35:54 -04:00
<div class="container">
<div class="row">
<div class="col-12">
<TelerikWizard @bind-Value="@Value" OnFinish="OnFinishHandler" Width="100%" Height="95vh" Class="sbWizard" StepperPosition=WizardStepperPosition.Top>
<WizardSteps>
<WizardStep Label="Introduction" Icon="@SvgIcon.Globe" OnChange="@OnAudienceChoiceStepChange" Valid="@IsAudienceChoiceValid">
<Content>
<TelerikForm Model="@cardType" @ref="@IntroForm">
<FormItems>
<FormItem>
<Template>
<div class="container">
<div class="row">
<div class="col-12 px-sm-5 mb-2">
<h1>KeyMotive's Summer Growth Program</h1>
<div class="px-sm-5 mb-2">
<p>It's time for our Summer Growth Program!<br />If you're looking to kick off your summer season with a wildly successful campgaign, then you've come to the right place!</p>
<p>
Using this wizard, choose your target audience, decide what media you'd like to mail, choose from a few suggested designs (or request a custom design from our
creative team), and that's it!
</p>
<p>Let us handle the rest!</p>
</div>
<div>
<img src="/img/7ccdfcc7-f91b-497e-8c19-ebb3a4021ea3.png" class="img-fluid" />
</div>
<div class="px-sm-5 mb-2 text-start">
Your audience choices are:
<ul>
<li>A list of your <strong class="text-primary">Very Best Customers</strong> (always a heavy-hitting campaign!)</li>
<li>
A list composed of <strong class="text-primary">Great Prospects</strong> near your shop, as well as a mix of formerly-Great Customers that you
<strong class="text-primary">haven't seen during the past 8 months</strong>.
</li>
</ul>
</div>
<div class="px-sm-5 text-start">
<strong>Please Select:</strong>
<TelerikRadioGroup Data="@audiences"
@bind-Value="@audienceType"
ValueField="@nameof(AudienceType.AudienceDescription)"
TextField="@nameof(AudienceType.AudienceDescription)">
</TelerikRadioGroup>
2025-05-22 06:09:57 -04:00
</div>
</div>
2025-05-29 13:33:02 -04:00
</div>
2025-05-30 03:35:54 -04:00
</div>
</Template>
</FormItem>
</FormItems>
<FormButtons>
2025-05-22 06:09:57 -04:00
@* Need this here to avoid addition of random submit button *@
2025-05-30 03:35:54 -04:00
</FormButtons>
</TelerikForm>
</Content>
</WizardStep>
2025-05-22 06:09:57 -04:00
@* *@
@* Step 1 - plastic card vs postcard *@
@* *@
2025-05-30 03:35:54 -04:00
<WizardStep Label="Card Type" Icon="@SvgIcon.EnvelopeBox" OnChange="@OnCardChoiceStepChange" Valid="@IsCardChoiceValid">
<Content>
<TelerikForm Model="@cardType" @ref="@cardTypeForm">
<FormItems>
<FormItem>
<Template>
<div class="container">
<div class="row">
<div class="col-12">
<h1 class="text-center">Step 1 - Choose a Card Type</h1>
</div>
<div class="col-12 text-center mb-3">
<TelerikButtonGroup SelectionMode="@ButtonGroupSelectionMode.Single">
<ButtonGroupToggleButton @bind-Selected="@isPlasticCard">Plastic Card</ButtonGroupToggleButton>
<ButtonGroupToggleButton @bind-Selected="@isPostcard">Postcard</ButtonGroupToggleButton>
</TelerikButtonGroup>
</div>
2025-05-22 06:09:57 -04:00
@* Preview information about the selected card type*@
@if (isPlasticCard)
{
2025-05-30 03:35:54 -04:00
<div class="col-sm-4 mb-3 text-start">
<h4>Very Popular Plastic Card Mailer!</h4>
<ul>
<li>As thick as a typical credit card!</li>
<li>Large size piece (8&frac14; x 4 inches)</li>
<li>Coupons pop out, offering great convenience for your customers!</li>
<li>Leave it to us - we select, print, sort and mail for just <strong class="text-primary text-nowrap">$1.02 each</strong></li>
</ul>
</div>
<div class="col-sm-8 text-center mb-3">
<img class="img-fluid" src="/img/1181c4aa-4f3f-4eb4-8d5d-7eff0131d5f2.png" />
</div>
2025-05-22 06:09:57 -04:00
}
else
{
2025-05-30 03:35:54 -04:00
<div class="col-sm-4 mb-3 text-start">
<h4>Premium Postcard Really Stands Out in the Mailbox</h4>
<ul>
<li>Premium paper, Jumbo-Sized (8&frac12; x 6 inches)</li>
<li>UV gloss-coated</li>
<li>Choose from our selection, or ask for a custom design!</li>
<li>Full service - select, print, sort, mail for just <strong class="text-primary text-nowrap">79&#162; each</strong></li>
</ul>
</div>
<div class="col-sm-8 text-center mb-3">
<img class="img-fluid" src="/img/ad5a2b69-a493-429b-9edd-8320ec1e9c33.png" />
</div>
2025-05-29 10:50:22 -04:00
}
2025-05-29 13:33:02 -04:00
</div>
2025-05-30 03:35:54 -04:00
</div>
</Template>
</FormItem>
</FormItems>
<FormButtons>
2025-05-22 06:09:57 -04:00
@* Need this here to avoid addition of random submit button *@
2025-05-30 03:35:54 -04:00
</FormButtons>
</TelerikForm>
</Content>
</WizardStep>
2025-05-22 06:09:57 -04:00
@* *@
@* Step 2 - selecting card design *@
@* *@
2025-05-30 03:35:54 -04:00
<WizardStep Label="Card Design" Icon="@SvgIcon.MapMarkerTarget" OnChange="@OnDesignStepChange" Valid="@IsDesignChoiceValid">
<Content>
<TelerikForm Model="@custOptions" @ref="@customizationForm">
<FormValidation>
<DataAnnotationsValidator></DataAnnotationsValidator>
</FormValidation>
<FormItems>
<FormItem>
<Template>
<div class="container">
<div class="row">
<div class="col-12">
<h1 class="text-center">Choose a Design</h1>
</div>
<div class="col-12 text-center mb-3">
2025-05-29 10:50:22 -04:00
@* Button logic *@
2025-05-30 03:35:54 -04:00
<div class="text-center">
<TelerikButtonGroup SelectionMode="@ButtonGroupSelectionMode.Single">
2025-05-29 09:59:21 -04:00
@if (isPlasticCard)
{
2025-05-30 03:35:54 -04:00
<ButtonGroupToggleButton @bind-Selected="@designOne">Plastic Card 1</ButtonGroupToggleButton>
<ButtonGroupToggleButton @bind-Selected="@designTwo">Plastic Card 2</ButtonGroupToggleButton>
<ButtonGroupToggleButton @bind-Selected="@designThree">Plastic Card 3</ButtonGroupToggleButton>
<ButtonGroupToggleButton @bind-Selected="@designCustom">Custom Design</ButtonGroupToggleButton>
2025-05-29 09:59:21 -04:00
}
else
{
2025-05-30 03:35:54 -04:00
<ButtonGroupToggleButton @bind-Selected="@designOne">Postcard 1</ButtonGroupToggleButton>
<ButtonGroupToggleButton @bind-Selected="@designTwo">Postcard 2</ButtonGroupToggleButton>
<ButtonGroupToggleButton @bind-Selected="@designThree">Postcard 3</ButtonGroupToggleButton>
<ButtonGroupToggleButton @bind-Selected="@designCustom">Custom Design</ButtonGroupToggleButton>
2025-05-29 09:59:21 -04:00
}
2025-05-30 03:35:54 -04:00
</TelerikButtonGroup>
<br /><br />
2025-05-29 09:59:21 -04:00
@* Card preview logic *@
@if (designOne)
{
@if (isPostcard)
{
2025-05-30 03:35:54 -04:00
<img src="/img/Postcard1_Front.png" class="img-fluid" alt="Back" />
<img src="/img/Postcard1_Back.png" class="img-fluid" alt="Front" />
2025-05-29 09:59:21 -04:00
}
else
{
2025-05-30 03:35:54 -04:00
<img src="/img/Plastic1_Back.png" class="img-fluid" alt="Back" />
<img src="/img/Plastic1_Front.png" class="img-fluid" alt="Front" />
2025-05-22 06:09:57 -04:00
2025-05-29 09:59:21 -04:00
}
}
else if (designTwo)
{
@if (isPostcard)
{
2025-05-30 03:35:54 -04:00
<img src="/img/Postcard2_Front.png" class="img-fluid" alt="Back" />
<img src="/img/Postcard2_Back.png" class="img-fluid" alt="Front" />
2025-05-29 09:59:21 -04:00
}
else
{
2025-05-30 03:35:54 -04:00
<img src="/img/Plastic2_Back.png" class="img-fluid" alt="Back" />
<img src="/img/Plastic2_Front.png" class="img-fluid" alt="Front" />
2025-05-29 09:59:21 -04:00
}
}
else if (designThree)
{
@if (isPostcard)
{
2025-05-30 03:35:54 -04:00
<img src="/img/Postcard3_Front.png" class="img-fluid" alt="Back" />
<img src="/img/Postcard3_Back.png" class="img-fluid" alt="Front" />
2025-05-29 09:59:21 -04:00
}
else
{
2025-05-30 03:35:54 -04:00
<img src="/img/Plastic3_Back.png" class="img-fluid" alt="Back" />
<img src="/img/Plastic3_Front.png" class="img-fluid" alt="Front" />
2025-05-29 09:59:21 -04:00
}
}
else if (designCustom)
{
2025-05-30 03:35:54 -04:00
<div class="d-sm-flex justify-content-around">
<div class="px-5">
<h4 class="mb-5">If you have your own idea in mind, or you would like to try another design, our creative design team will make it happen!</h4>
</div>
<div class="px-5">
<p class="fst-italic">
When you're asked for "additional comments," just give us an idea of what you have in mind and our customer care team will have some ideas
ready when we call you!
</p>
</div>
</div>
<div>
2025-05-29 10:50:22 -04:00
@if (isPostcard)
2025-05-29 09:59:21 -04:00
{
2025-05-30 03:35:54 -04:00
<img src="/img/cfeb51c5-5373-44b5-be19-dadea452cc41.png" class="img-fluid" />
2025-05-29 09:59:21 -04:00
}
else
{
2025-05-30 03:35:54 -04:00
<img src="/img/a41f648d-6b39-41f1-bbe5-084fb8a71a30.png" class="img-fluid" />
2025-05-29 09:59:21 -04:00
}
2025-05-30 03:35:54 -04:00
</div>
2025-05-29 10:50:22 -04:00
}
2025-05-29 09:59:21 -04:00
</div>
2025-05-29 10:50:22 -04:00
</div>
2025-05-29 13:33:02 -04:00
</div>
2025-05-30 03:35:54 -04:00
</div>
</Template>
</FormItem>
</FormItems>
<FormButtons />
</TelerikForm>
</Content>
</WizardStep>
2025-05-29 10:50:22 -04:00
@* *@
@* Step 3 - For postcards, choose a verse and a signature *@
@* *@
2025-06-19 12:22:23 -04:00
<WizardStep Label="Customization" OnChange="@OnMessagingStepChange" Valid="@isMessagingValid">
2025-05-30 03:35:54 -04:00
<Content>
<TelerikForm Model="@messagingOptions" @ref="@messagingForm">
<FormItems>
<FormItem>
<Template>
<div class="container">
<div class="row">
2025-05-29 10:50:22 -04:00
@if (isPlasticCard)
{
2025-05-30 03:35:54 -04:00
<div class="col-12">
<h4>No customization needed. Please proceed to logo selection.</h4>
</div>
2025-05-29 10:50:22 -04:00
}
else
{
2025-05-30 03:35:54 -04:00
<div class="col-12">
<h4 class="mb-3">Please Select a Verse</h4>
<TelerikButtonGroup SelectionMode="@ButtonGroupSelectionMode.Single" Class="vertical-buttons block-buttons mb-5">
<ButtonGroupToggleButton @bind-Selected="@verseOne">Option 1</ButtonGroupToggleButton>
<ButtonGroupToggleButton @bind-Selected="@verseTwo">Option 2</ButtonGroupToggleButton>
<ButtonGroupToggleButton @bind-Selected="@verseThree">Option 3</ButtonGroupToggleButton>
</TelerikButtonGroup>
2025-05-29 10:50:22 -04:00
@if (verseOne)
{
2025-05-30 03:35:54 -04:00
<p class="fst-italic">Thank you for making our success possible.</p>
<p class="fst-italic">We appreciate loyal customers like you and look forward to continuing to be your complete auto repair, service and tire center!</p>
2025-05-29 10:50:22 -04:00
}
else if (verseTwo)
{
2025-05-30 03:35:54 -04:00
<p class="fst-italic">We appreciate the trust you have shown in us and look forward to working with you in the future!</p>
2025-05-29 10:50:22 -04:00
}
else if (verseThree)
{
2025-05-30 03:35:54 -04:00
<p class="fst-italic">We want you to know that we truly appreciate your business and will make every effort possible to continue to provide you with excellent car care.</p>
2025-05-29 10:50:22 -04:00
}
2025-05-30 03:35:54 -04:00
</div>
<div class="col-12">
<hr class="m-5" />
<h4 class="mb-3">Please Select a Signature</h4>
<TelerikButtonGroup SelectionMode="@ButtonGroupSelectionMode.Single" Class="mb-5">
<ButtonGroupToggleButton @bind-Selected="@sigOne">From Your Friends</ButtonGroupToggleButton>
<ButtonGroupToggleButton @bind-Selected="@sigTwo">Name, Title, Phone Number</ButtonGroupToggleButton>
<ButtonGroupToggleButton @bind-Selected="@sigThree">Custom</ButtonGroupToggleButton>
</TelerikButtonGroup>
2025-05-29 10:50:22 -04:00
@if (sigOne)
{
2025-05-30 03:35:54 -04:00
<p>From your friends at <strong>TopSpeed Tire</strong><br /><i>(your location name)</i></p>
<p><strong>(888) 555-3712</strong><br /><i>(your location phone number)</i></p>
2025-05-29 10:50:22 -04:00
}
else if (sigTwo)
{
2025-05-30 03:35:54 -04:00
<label style="display:block" for="CustomName" class="k-label k-form-label text-center">Name:</label>
<TelerikTextBox Class="mb-3" Id="CustomName" @bind-Value="@customName" MaxLength="50" Width="25rem"></TelerikTextBox>
<label style="display:block" for="CustomTitle" class="k-label k-form-label text-center">Title:</label>
<TelerikTextBox Class="mb-3" Id="CustomTitle" @bind-Value="@customTitle" MaxLength="50" Width="25rem"></TelerikTextBox>
<label style="display:block" for="CustomPhone" class="k-label k-form-label text-center">Phone:</label>
<TelerikTextBox Class="mb-3" Id="CustomPhone" @bind-Value="@customPhone" MaxLength="15" Width="20rem"></TelerikTextBox>
2025-05-29 10:50:22 -04:00
}
else if (sigThree)
{
2025-05-30 03:35:54 -04:00
<br />
<label style="display:block" for="CustomSignature" class="text-center">Custom Message (max 30 character/line up to 4 lines)</label>
2025-05-29 12:18:47 -04:00
2025-05-30 03:35:54 -04:00
<br />
<TelerikTextArea Id="CustomSignature" @bind-Value="@customSignature" Rows="4" Cols="35" MaxLength="120"></TelerikTextArea>
2025-05-29 10:50:22 -04:00
}
2025-05-29 12:18:47 -04:00
</div>
2025-05-30 03:35:54 -04:00
}
<div class="col-12 text-center mb-3">
2025-05-29 10:50:22 -04:00
</div>
2025-05-29 13:33:02 -04:00
</div>
2025-05-30 03:35:54 -04:00
</div>
</Template>
</FormItem>
</FormItems>
<FormButtons />
</TelerikForm>
</Content>
</WizardStep>
2025-05-22 06:09:57 -04:00
@* *@
@* Step 4 - Logo Selection *@
@* *@
2025-05-30 03:35:54 -04:00
<WizardStep Label="Logos" OnChange="@OnLogoStepChange" Valid="@isLogoValid">
<Content>
<TelerikForm Model="@logoOptions"
@ref="@logoForm">
<FormItems>
<FormItem>
<Template>
<div class="container">
<div class="row">
<div class="col-12">
<TelerikCheckBox Id="goodyearBox" @bind-Value="@goodyear" />
<label for="goodyearBox">Goodyear Logo</label>
<TelerikCheckBox Id="michelinBox" @bind-Value="@michelin" />
<label for="michelinBox">Michelin Logo</label>
<TelerikCheckBox Id="customBox" @bind-Value="@custom" />
<label for="customBox">Custom Logo</label>
</div>
<div class="col-12 mt-5">
2025-05-29 12:18:47 -04:00
@if (goodyear)
{
2025-05-30 03:35:54 -04:00
<div class="p-5">
<img src="/img/goodyear.png" class="img-fluid" />
</div>
2025-05-29 12:18:47 -04:00
}
@if (michelin)
{
2025-05-30 03:35:54 -04:00
<div class="p-5">
<img src="/img/michelin.png" class="img-fluid" />
</div>
2025-05-29 12:18:47 -04:00
}
@if (custom)
{
2025-05-30 03:35:54 -04:00
<div class="p-5">
<img src="/img/6784cef1-9ed9-4c91-94bc-5e7a267b5a4f.png" class="img-fluid" />
</div>
2025-05-29 12:18:47 -04:00
}
2025-05-29 10:50:22 -04:00
</div>
2025-05-29 13:33:02 -04:00
</div>
2025-05-30 03:35:54 -04:00
</div>
</Template>
</FormItem>
</FormItems>
<FormButtons>
</FormButtons>
</TelerikForm>
</Content>
</WizardStep>
2025-05-22 06:09:57 -04:00
@* *@
@* Step 5 - Offer selection for Plastic cards *@
@* *@
2025-05-30 03:35:54 -04:00
<WizardStep Label="Offers" OnChange="@OnOfferStepChange" Valid="@isOfferSelectionValid">
<Content>
<TelerikForm Model="@offerOptions" @ref="@offerForm">
<FormItems>
<FormItem>
<Template>
<div class="container">
<div class="row">
2025-05-29 12:18:47 -04:00
@if (isPlasticCard)
{
2025-05-30 03:35:54 -04:00
<div class="col-12">
<h4 class="my-3">Please select two (2) full size offers:</h4>
<TelerikButtonGroup SelectionMode="@ButtonGroupSelectionMode.Multiple">
<ButtonGroupToggleButton @bind-Selected="@bigOffers[0]"><img src="/img/A1.png" /></ButtonGroupToggleButton>
<ButtonGroupToggleButton @bind-Selected="@bigOffers[1]"><img src="/img/A2.png" /></ButtonGroupToggleButton>
<ButtonGroupToggleButton @bind-Selected="@bigOffers[2]"><img src="/img/A3.png" /></ButtonGroupToggleButton>
<ButtonGroupToggleButton @bind-Selected="@bigOffers[3]"><img src="/img/A4.png" /></ButtonGroupToggleButton>
<ButtonGroupToggleButton @bind-Selected="@bigOffers[4]"><img src="/img/A5.png" /></ButtonGroupToggleButton>
<ButtonGroupToggleButton @bind-Selected="@bigOffers[5]"><img src="/img/A6.png" /></ButtonGroupToggleButton>
</TelerikButtonGroup>
</div>
<div class="col-12">
<h4 class="my-3">And four (4) half-sized offers:</h4>
<TelerikButtonGroup SelectionMode="@ButtonGroupSelectionMode.Multiple">
<ButtonGroupToggleButton @bind-Selected="@smallOffers[0]"><img src="/img/B1.png" /></ButtonGroupToggleButton>
<ButtonGroupToggleButton @bind-Selected="@smallOffers[1]"><img src="/img/B2.png" /></ButtonGroupToggleButton>
<ButtonGroupToggleButton @bind-Selected="@smallOffers[2]"><img src="/img/B3.png" /></ButtonGroupToggleButton>
<ButtonGroupToggleButton @bind-Selected="@smallOffers[3]"><img src="/img/B4.png" /></ButtonGroupToggleButton>
<ButtonGroupToggleButton @bind-Selected="@smallOffers[4]"><img src="/img/B5.png" /></ButtonGroupToggleButton>
<ButtonGroupToggleButton @bind-Selected="@smallOffers[5]"><img src="/img/B6.png" /></ButtonGroupToggleButton>
</TelerikButtonGroup>
<br />
<TelerikButtonGroup SelectionMode="@ButtonGroupSelectionMode.Multiple">
<ButtonGroupToggleButton @bind-Selected="@smallOffers[6]"><img src="/img/B7.png" /></ButtonGroupToggleButton>
<ButtonGroupToggleButton @bind-Selected="@smallOffers[7]"><img src="/img/B8.png" /></ButtonGroupToggleButton>
<ButtonGroupToggleButton @bind-Selected="@smallOffers[8]"><img src="/img/B9.png" /></ButtonGroupToggleButton>
<ButtonGroupToggleButton @bind-Selected="@smallOffers[9]"><img src="/img/B10.png" /></ButtonGroupToggleButton>
<ButtonGroupToggleButton @bind-Selected="@smallOffers[10]"><img src="/img/B11.png" /></ButtonGroupToggleButton>
<ButtonGroupToggleButton @bind-Selected="@smallOffers[11]"><img src="/img/B12.png" /></ButtonGroupToggleButton>
</TelerikButtonGroup>
</div>
2025-05-29 12:18:47 -04:00
}
else
{
2025-05-30 03:35:54 -04:00
<div class="col-12 m-5">
<h4>No offers needed! Please proceed to the next step!</h4>
</div>
2025-05-29 12:18:47 -04:00
}
2025-05-29 13:33:02 -04:00
</div>
2025-05-30 03:35:54 -04:00
</div>
</Template>
</FormItem>
</FormItems>
<FormButtons />
</TelerikForm>
</Content>
</WizardStep>
2025-05-22 06:09:57 -04:00
@* *@
@* Step 6 - Location information *@
@* *@
2025-05-30 03:35:54 -04:00
<WizardStep Label="Location Info" OnChange="@OnLocationStepChange" Valid="@isLocationInfoValid">
<Content>
<div class="container">
<div class="row">
<div class="col-12">
<TelerikForm Model="@locationInfo" @ref="@locationForm" Columns="2" ColumnSpacing="25px">
<FormButtons />
</TelerikForm>
2025-05-29 12:18:47 -04:00
</div>
2025-05-29 13:33:02 -04:00
</div>
2025-05-30 03:35:54 -04:00
</div>
</Content>
</WizardStep>
2025-05-22 06:09:57 -04:00
@* *@
@* Step 7 - Payment *@
@* *@
2025-05-30 03:35:54 -04:00
<WizardStep Label="Payment Info">
<Content>
<TelerikForm Model="@paymentInfo" @ref="@paymentForm">
<FormItems>
<FormItem>
<Template>
<div class="container">
<div class="row">
<div class="col-12">
<TelerikButtonGroup SelectionMode="@ButtonGroupSelectionMode.Single" Class="vertical-buttons block-buttons mb-5">
<ButtonGroupToggleButton @bind-Selected="@ccOnFile">Credit Card On File</ButtonGroupToggleButton>
<ButtonGroupToggleButton @bind-Selected="@callWithInfo">Call With Payment Info</ButtonGroupToggleButton>
<ButtonGroupToggleButton @bind-Selected="@check">Check</ButtonGroupToggleButton>
</TelerikButtonGroup>
</div>
<div class="col-12 mb-5">
2025-05-29 13:33:02 -04:00
@if (ccOnFile)
{
<h4>Use our preferred payment method already on file.</h4>
}
else if (callWithInfo)
{
<h4>Please call me.</h4>
<p>I'll specify method of payment when reviewing the order.</p>
}
else if (check)
{
<h4>I'll be sending in a check</h4>
<p>I'll be sending in a check by the invoice's due date (6/13/2025).</p>
}
2025-05-30 03:35:54 -04:00
</div>
<div class="col-12">
<label style="display:block" for="RequestedQuantity" class="text-center mb-3">Requested Quantity</label>
<TelerikTextBox class="mb-3" Id="RequestedQuantity" @bind-Value="@requestedQuantity" MaxLength="6" Width="15rem"></TelerikTextBox>
<label style="display:block" for="AdditionalComments" class="text-center mb-3">Additional Notes</label>
<TelerikTextArea class="mb-3" Id="CustomSignature" @bind-Value="@additionalComments" Rows="8" Cols="100" MaxLength="2500"></TelerikTextArea>
</div>
</div>
</div>
</Template>
</FormItem>
</FormItems>
<FormButtons />
</TelerikForm>
</Content>
</WizardStep>
</WizardSteps>
</TelerikWizard>
</div>
</div>
</div>
2025-05-15 06:40:41 -04:00
}
2025-05-29 12:18:47 -04:00
else
{
2025-06-19 12:22:23 -04:00
<div class="container">
2025-05-30 03:35:54 -04:00
<div class="row">
2025-06-02 07:38:16 -04:00
<div class="col-12 m-5">
Thank you, our customer care team will be in touch with you soon!
</div>
2025-05-30 03:35:54 -04:00
<div class="col-12">
2025-06-02 07:38:16 -04:00
<RandomImage />
2025-05-30 03:35:54 -04:00
</div>
</div>
</div>
2025-05-29 12:18:47 -04:00
2025-05-29 14:04:36 -04:00
}
2025-05-30 12:45:15 -04:00
@* @if (appState != null)
2025-05-29 14:04:36 -04:00
{
<pre style="font-size:.8em">
2025-05-30 03:35:54 -04:00
SessionId: @appState.SessionId
DateCreated: @appState.DateCreated
DateExpires: @appState.DateExpires
IPAddress: @appState.myIpAddress
2025-05-30 03:58:16 -04:00
IPAddress2: @(IpAddressService.RemoteIpAddress.ToString())
2025-05-30 03:35:54 -04:00
</pre>
2025-05-29 14:04:36 -04:00
}
2025-05-30 12:45:15 -04:00
*@