@php use App\Helpers\SeoHelper; $locale = app()->getLocale(); $localizedRoute = function($routeName, $params = []) use ($locale) { return SeoHelper::localizedRoute($routeName, $params, $locale); }; // Only show contextual calculator when context exists AND belongs to this service (never show another service's options) $contextForThisService = isset($pricingContext, $slug) && !empty($pricingContext['tiers']) && (isset($pricingContext['service_slug']) ? $pricingContext['service_slug'] === $slug : true); $contactUrl = $localizedRoute('contact.index') . (isset($slug) ? '?service=' . $slug : ''); @endphp @if($contextForThisService) {{-- Contextual calculator: tiers and addons for this service --}}
{{ __('messages.pricing_calculator.customize_package') }}
{{ __('messages.pricing_calculator.get_tailored_quote_desc') }}
{{ __('messages.pricing_calculator.get_quote') }} →