@yield('vendor-script') @if(session('check_subscription') && Auth::check() && Auth::user()->active_portal === 'customer' && Auth::user()->is_customer == 1) @if(Auth::user()->customer->activeSubscription() === null) @endif @endif {{-- page script --}} @yield('page-script') @if(Session::has('message')) @endif @if (isset($errors) && $errors->any()) @endif