@php $currentTenant = tenant(); $planFeatures = $currentTenant?->getPlanFeaturesMap() ?? []; $plan = $currentTenant?->currentPlan(); $hasOrders = collect($plan->features)->where('feature.key', 'orders')->first()['value'] ?? false; $subscription = $currentTenant?->subscription; @endphp @viteReactRefresh @php $theme = 'basic'; @endphp {{ Vite::useBuildDirectory('build/themes/' . $theme)->withEntryPoints(['src/main.tsx'])->useHotFile('build/themes/' . $theme . '/hot.' . $theme) }} @php $config_overrides = tenant('theme')['config_overrides'] ?? []; @endphp