{{ __('Dashboard') }} {{-- Changed from "Dashboard Overview" to just "Dashboard" for consistency with other pages --}} @php $headerCreditsSystemEnabled = function_exists('setting') && setting('credits_system_enabled', '0') == '1'; $headerCreditNamePlural = $headerCreditsSystemEnabled ? setting('credits_display_name_plural', __('Credits')) : __('Credits'); @endphp {{-- Display user's current credit balance if credits are enabled --}} @if($headerCreditsSystemEnabled && Auth::user()) ({{ Str::ucfirst($headerCreditNamePlural) . ':' }} {{ number_format(Auth::user()->credit_balance ?? 0) }}) @endif {{-- Add Teams link --}} @if (Laravel\Jetstream\Jetstream::hasTeamFeatures() && Auth::user()->currentTeam) | {{ __('Team Settings') }} @endif

Welcome, {{ Auth::user()->name }}!

Here's a quick overview of your account. We're here to help if you need anything!

@if(isset($userMenuItems) && !empty($userMenuItems))

{{ __('Your Accessible Features & Services') }}

@foreach($userMenuItems as $moduleDisplayName => $items) @foreach($items as $item)
@if(isset($item['icon_svg_path']))
@else
{{-- Default icon --}}
@endif

{{ $item['title'] }}

{{ $moduleDisplayName }}

@endforeach @endforeach
@endif @php $walletEnabled = function_exists('setting') && setting('wallet_system_enabled', '0') == '1'; $creditsEnabled = function_exists('setting') && setting('credits_system_enabled', '0') == '1'; $creditNameSingular = $creditsEnabled ? setting('credits_display_name_singular', __('Credit')) : __('Credit'); $creditNamePlural = $creditsEnabled ? setting('credits_display_name_plural', __('Credits')) : __('Credits'); $allowCreditPurchase = $creditsEnabled && function_exists('setting') && setting('allow_credit_purchase', '0') == '1'; @endphp @if ($walletEnabled || $creditsEnabled)
@if($walletEnabled)

Wallet Balance

${{ number_format(Auth::user()->wallet_balance ?? 0, 2) }}

@if(function_exists('setting') && setting('allow_wallet_deposits', '0') == '1') Deposit Funds @endif @if(Route::has('user.wallet.history')) View History @endif
@endif @if($creditsEnabled)

{{ Str::ucfirst($creditNameSingular) }} Balance

{{ number_format(Auth::user()->credit_balance ?? 0) }} {{ strtolower($creditNamePlural) }}

@if($allowCreditPurchase && Route::has('user.credits.purchase.form')) {{-- Assuming 'user.credits.purchase.form' is your route name --}} Purchase {{ Str::ucfirst($creditNamePlural) }} @endif @if(Route::has('user.credits.history')) {{-- No need for $creditsEnabled check here as it's already checked for the widget --}} View History @endif
@endif
@endif

Recent Messages

Your recent conversations will appear here.

Use the floating chat icon to start a new conversation with support.

@push('scripts') @endpush