@extends('backend.layout.master-tailwind') @section('title', __('Enable Disable Profile Switch')) @section('admin_styles') @endsection @section('content')

{{ __('Profile Switch') }}

{{ __('Allow users to switch between freelancer and client profiles') }}

@if($errors->any())
@foreach($errors->all() as $error)
{{ $error }}
@endforeach
@endif
{{ __('Set to "Disable" to prevent users from switching between profiles.') }}
@php $switchVal = get_static_option('profile_switch_enable_disable') ?? ''; $switchLbl = $switchVal === 'enable' ? __('Enable') : ($switchVal === 'disable' ? __('Disable') : __('Select option')); @endphp
@csrf
@endsection @section('script') @endsection