diff --git a/hub/services/static/js/price-calculator.js b/hub/services/static/js/price-calculator.js index 2bdb026..1fa9e2b 100644 --- a/hub/services/static/js/price-calculator.js +++ b/hub/services/static/js/price-calculator.js @@ -1834,11 +1834,11 @@ Please contact me with next steps for ordering this configuration.`; } // Override the updateAddonPricingDisplay method to use improved layout -PriceCalculator.prototype.updateAddonPricingDisplay = function(mandatoryAddons, selectedOptionalAddons) { +PriceCalculator.prototype.updateAddonPricingDisplay = function (mandatoryAddons, selectedOptionalAddons) { // Handle mandatory addons - show them in the managed service includes section if (this.managedServiceIncludesContainer) { this.managedServiceIncludesContainer.innerHTML = ''; - + if (mandatoryAddons && mandatoryAddons.length > 0) { mandatoryAddons.forEach(addon => { const addonRow = document.createElement('div'); @@ -1862,7 +1862,7 @@ PriceCalculator.prototype.updateAddonPricingDisplay = function(mandatoryAddons, // Handle optional addons - show them in the main addon pricing container if (!this.addonPricingContainer) return; - + // Clear existing addon pricing display (only for optional addons now) this.addonPricingContainer.innerHTML = ''; diff --git a/hub/services/templates/services/offering_detail.html b/hub/services/templates/services/offering_detail.html index 18aa19f..8ede07d 100644 --- a/hub/services/templates/services/offering_detail.html +++ b/hub/services/templates/services/offering_detail.html @@ -254,10 +254,10 @@ - +