@php $tenant = app()->bound('current_tenant') ? app('current_tenant') : null; if (!$tenant) { $simHost = request()->query('simulate_host') ?: session('simulated_host'); if ($simHost) { $tenant = \App\Models\Tenant::where('custom_domain', $simHost)->first(); } } $cId = 1; if ($tenant) { $counsellorObj = \App\Models\Counsellor::where('first_name', $tenant->name)->first(); if ($counsellorObj) { $cId = $counsellorObj->id; } } $isTenantView = app()->bound('current_tenant') || request()->has('simulate_host') || (session('simulated_host') && !request()->routeIs('home')); @endphp
@if($tenant && !request()->routeIs('admin.login', 'portal.users'))
Book Session
@else
@endif
@yield('content')

Subscribe To Newsletter

Get updates and the latest articles delivered straight to your inbox.

@if(session('newsletter_success'))
✓ {{ session('newsletter_success') }}
@endif
@csrf