@extends('backend.layout.master-tailwind') @section('title', __('Freelancer Earnings Display Settings')) @section('admin_styles') @endsection @section('content')

{{ __('Freelancer Earnings Display') }}

{{ __('Control whether freelancers can show or hide their earnings') }}

@if($errors->any())
@foreach($errors->all() as $error)
{{ $error }}
@endforeach
@endif
{{ __('When enabled, freelancers can toggle the visibility of their earnings on their profile. When disabled, this option is hidden from users.') }}
@php $earnVal = get_static_option('user_earning_toggle') ?? ''; $earnLbl = $earnVal === 'enable' ? __('Enable') : ($earnVal === 'disable' ? __('Disable') : __('Select option')); @endphp
@csrf
@endsection @section('script') @endsection