Skip to content

Commit

Permalink
Limited the senarios when the confirmation text will appear in suppor…
Browse files Browse the repository at this point in the history
…t of #391.
  • Loading branch information
uncheckederror committed Aug 31, 2023
1 parent 7af980a commit afb518c
Showing 1 changed file with 6 additions and 26 deletions.
32 changes: 6 additions & 26 deletions NumberSearch.Mvc/Views/Cart/Success.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -373,32 +373,12 @@
<div class="alert alert-success" role="alert">
Your order has been submitted on @orderDate You can <a href="https://acceleratenetworks.com/cart/order/@Model?.Order?.OrderId">review it here</a>.
</div>
<div class="alert alert-info" role="alert">
A confirmation email will be sent to @Model?.Order?.Email shortly.
</div>
// Disabled because these always bump you into the login screen in invoice ninja 5.
//if (!string.IsNullOrWhiteSpace(Model?.Order?.UpfrontInvoiceLink))
//{
// <div class="pricing-header mx-auto pb-3 text-center">
// <h1 class="display-4">Upfront</h1>
// </div>
// <!-- 4:3 aspect ratio -->
// <div class="embed-responsive embed-responsive-4by3">
// <iframe class="embed-responsive-item" src="@Model?.Order?.UpfrontInvoiceLink"></iframe>
// </div>
// <br />
//}
//if (!string.IsNullOrWhiteSpace(Model?.Order?.ReoccuringInvoiceLink))
//{
// <div class="pricing-header mx-auto pb-3 text-center">
// <h1 class="display-4">Monthly</h1>
// </div>
// <!-- 4:3 aspect ratio -->
// <div class="embed-responsive embed-responsive-4by3">
// <iframe class="embed-responsive-item" src="@Model?.Order?.ReoccuringInvoiceLink"></iframe>
// </div>
// <br />
//}
if (Model is not null && !Model.Order.NoEmail)
{
<div class="alert alert-info" role="alert">
A confirmation email will be sent to @Model?.Order?.Email shortly.
</div>
}
<div class="jumbotron">
<h1 class="display-4">Need help? Contact us!</h1>
<p class="lead">Give us a ring at 206-858-8757 (texting is welcome) or <a href="mailto:[email protected]?Subject=Help%20me%20with%20?" target="_top">email us</a>.</p>
Expand Down

0 comments on commit afb518c

Please sign in to comment.