diff --git a/Controllers/CureController.cs b/Controllers/CureController.cs index 278c425..2cc84eb 100644 --- a/Controllers/CureController.cs +++ b/Controllers/CureController.cs @@ -111,9 +111,7 @@ public async Task RegistrationForm(Guid? regId) try { ticketInventory = await _inventoryService.GetItemInventoryAsync("CURE 2026 Ticket"); - addonInventory = await _inventoryService.GetItemInventoryAsync("CURE 2026 Addon"); ViewBag.TicketInventory = ticketInventory; - ViewBag.Addon = addonInventory.First(); } catch (InventoryException e) { @@ -143,8 +141,6 @@ public async Task RegistrationForm(Guid? regId) new SelectListItem("Not Staying in Host Hotel", "Not Staying in Host Hotel"), ]; - List _addons = addonInventory; - ViewBag.Addon = _addons.First(); ViewBag.TicketInventory = ticketInventory; ViewBag.IsUpdating = true; @@ -200,8 +196,6 @@ public async Task RegistrationForm(Guid? regId) new SelectListItem("Not Staying in Host Hotel", "Not Staying in Host Hotel"), ]; - List addons = addonInventory; - ViewBag.Addon = addons.First(); ViewBag.TicketInventory = ticketInventoryList; ViewBag.IsUpdating = false; @@ -229,10 +223,6 @@ public async Task RegistrationForm(RegistrationViewModel registra // return View(registrationData); // } - if (registrationData.HasMealAddon == true) - { - registrationData.MealAddon = await _inventoryService.GetAddonItemAsync(); - } var registrations = _registrationSessionService.Registrations; @@ -367,12 +357,6 @@ public async Task RegistrationPayment() priceCheck -= r.TicketComp.CompAmount; r.Price -= (double)r.TicketComp.CompAmount; } - - if (r.MealAddon is not null) - { - priceCheck += r.MealAddon.PriceInDollars; - r.Price += (double)r.MealAddon.PriceInDollars; - } } if (priceCheck <= 0) diff --git a/Helpers/CureRegistrationHelpers.cs b/Helpers/CureRegistrationHelpers.cs index 707bbc6..1923364 100644 --- a/Helpers/CureRegistrationHelpers.cs +++ b/Helpers/CureRegistrationHelpers.cs @@ -93,7 +93,6 @@ public static void WriteNonPaymentTickets(KiCdbContext ctx, List

Event Merch!

- Merch Store + Merch Store

Join the Discord

diff --git a/Views/Cure/Registration.cshtml b/Views/Cure/Registration.cshtml index 06fc1ca..e751cbf 100644 --- a/Views/Cure/Registration.cshtml +++ b/Views/Cure/Registration.cshtml @@ -70,11 +70,12 @@
  • Offers a chance to mingle with our incredible presenters in a more personal, conversational setting - no microphones, no presentations, just real people connecting over shared passions.
  • Seated, social experience designed to nourish both your appetite and your curiosity.
  • Limited capacity, included with the Gold Ticket Option
  • +
  • Purchase Here
  • Merchandise
    • CURE branded T-shirts, Hoodies, and Zip Ups
    • -
    • LINK COMING SOON!
    • +
    • Merch
    • @*add link to merch*@
    diff --git a/Views/Cure/RegistrationForm.cshtml b/Views/Cure/RegistrationForm.cshtml index 3b53106..79cc879 100644 --- a/Views/Cure/RegistrationForm.cshtml +++ b/Views/Cure/RegistrationForm.cshtml @@ -221,27 +221,6 @@ }
    - @*Add addon*@ -
    - -

    Select here if you would like to add on this Friday VIP exclusive opportunity to mingle with our presenters with a Buffet style dinner. Limited capacity and already included with the Gold Ticket Option. - @ViewBag.AddOn.PriceInDollars.ToString("C")

    - @if(ViewBag.AddOn.Stock > 0){ -
    - -
    - } - @if(ViewBag.AddOn.Stock == 0){ -
    - - SOLD OUT -
    - } -
    - - @* If RegId is set, show the "Update" button *@ @if (ViewBag.IsUpdating) { diff --git a/Views/Cure/RegistrationPayment.cshtml b/Views/Cure/RegistrationPayment.cshtml index 1ff7354..88d172e 100644 --- a/Views/Cure/RegistrationPayment.cshtml +++ b/Views/Cure/RegistrationPayment.cshtml @@ -92,12 +92,6 @@

    Pronouns: @item.Pronouns

    } - @if (item.HasMealAddon == true) - { - decimal mealPrice = (decimal)@item.MealAddon.PriceInDollars; -

    Decadent Delights - @mealPrice.ToString()

    - } -

    Room Type: @item.RoomType