diff --git a/ServiceHost/Areas/Client/Pages/Index.cshtml.cs b/ServiceHost/Areas/Client/Pages/Index.cshtml.cs index e61508cc..18436670 100644 --- a/ServiceHost/Areas/Client/Pages/Index.cshtml.cs +++ b/ServiceHost/Areas/Client/Pages/Index.cshtml.cs @@ -687,9 +687,16 @@ namespace ServiceHost.Areas.Client.Pages var allServices = _rollCallServiceApplication.GetAllServiceByWorkshopId(workshopId); var hasPreviousService = allServices.Any(); + + var activeService = _rollCallServiceApplication.GetActiveServiceByWorkshopId(workshopId); var hasRollCallService = activeService != null; + bool hasCustomizeCheckout = false; + + if (hasRollCallService) + hasCustomizeCheckout = activeService.HasCustomizeCheckoutService == "true" ? true : false; + bool hasCameraAccount; if (hasRollCallService) { @@ -707,7 +714,8 @@ namespace ServiceHost.Areas.Client.Pages { hasRollCallWorkshopSetting, hasCameraAccount, - hasRollCallService + hasRollCallService, + hasCustomizeCheckout }); }