@php $prefix = auth()->user() && auth()->user()->role === 'admin' ? 'admin.' : 'user.'; // Determine active brand ID. Prioritize the query parameter. // If not present, fall back to the first active brand for the logged-in user. $activeBrandIdFromQuery = request()->query('brand_id'); $defaultBrandId = null; if (!$activeBrandIdFromQuery) { $user = auth()->user(); if ($user) { $defaultBrandId = $user->brands()->where('status', 1)->first()?->id; } } @endphp
@csrf

{{ __('Add Funds to Your Account') }}

{{ __('Please enter the amount you wish to add. The funds will be added to your main balance.') }}

{{ __('Cancel') }} {{ __('Add Funds') }}