@extends('frontend.layout_2') @section('sub_layout')
{{-- balance cards --}}
Available Balance
{{ number_format($availableBalance, 2) }} BDT
Total Withdrawn
{{ number_format($totalWithdrawn, 2) }} BDT
Your lifetime withdrawn
@csrf {{-- payment method --}}
পেমেন্ট মেথড সিলেক্ট করুন
{{-- Mobile methods --}} @if($mobileMethods->count())
Mobile Banking Withdraw
@foreach($mobileMethods as $m) @php $value = 'mobile:'.$m->slug; $logo = $m->logo ? (preg_match('/^(https?:\/\/|\/)/i',$m->logo) ? $m->logo : asset('storage/'.$m->logo)) : null; $checked = old('method') === $value; @endphp @endforeach
@endif {{-- Bank methods --}} @if($bankMethods->count())
Bank Withdraw
@foreach($bankMethods as $b) @php $value = 'bank:'.$b->slug; $logo = $b->logo ? (preg_match('/^(https?:\/\/|\/)/i',$b->logo) ? $b->logo : asset('storage/'.$b->logo)) : null; $checked = old('method') === $value; @endphp @endforeach
@endif
@error('method') {{ $message }} @enderror
{{-- account fields --}}
একাউন্ট / মোবাইল নম্বর
মোবাইল হলে ১১ ডিজিট নম্বর দিন।
@error('account_number')
{{ $message }}
@enderror
{{-- শুধু bank এর জন্য extra field --}}
{{-- amount --}}
এমাউন্ট (BDT)
Minimum 50 BDT • আপনার ব্যালেন্স: {{ number_format($availableBalance, 2) }} BDT
@error('amount')
{{ $message }}
@enderror
@endsection