@extends('frontend.layouts.user.index') @section('title', __('Create Withdraw Account')) @section('content') @php $selectedMethod = $withdrawMethods->firstWhere('id', (int) old('method_id')); @endphp
{{ __('My Accounts') }}
@if($withdrawMethods->isEmpty())
{{ __('No active withdrawal methods are available right now. Please try again later.') }}
@else
@csrf
@error('method_id')
{{ $message }}
@enderror
@error('account_name')
{{ $message }}
@enderror
{{-- Dynamic Credential Fields --}}
@if($selectedMethod) @include('frontend.user.withdraw.partials.credentials_fields', ['method' => $selectedMethod]) @endif
{{-- Submit Button --}}
@endif
@endsection @push('scripts') @endpush