@php $available = (float) $wallet->available_balance; $pending = (float) $wallet->pending_balance; $transactionStatus = [ 'approved' => ['label' => 'সফল', 'icon' => 'check-circle', 'class' => 'border-success/50 bg-success/10 text-success'], 'pending' => ['label' => 'অপেক্ষমাণ', 'icon' => 'clock', 'class' => 'border-info/50 bg-info/10 text-info'], 'rejected' => ['label' => 'ব্যর্থ', 'icon' => 'x-circle', 'class' => 'border-danger/50 bg-danger/10 text-danger'], ]; $transactionTypes = [ 'earning' => 'আয়', 'bonus' => 'বোনাস', 'withdrawal' => 'উত্তোলন', 'deposit' => 'জমা', 'adjustment' => 'সমন্বয়', 'package_purchase' => 'প্যাকেজ কেনা', ]; $withdrawalStatus = [ 'pending' => ['label' => 'অপেক্ষমাণ', 'class' => 'border-info/50 bg-info/10 text-info'], 'processing' => ['label' => 'প্রসেসিং', 'class' => 'border-info/50 bg-info/10 text-info'], 'paid' => ['label' => 'পরিশোধিত', 'class' => 'border-success/50 bg-success/10 text-success'], 'rejected' => ['label' => 'ব্যর্থ', 'class' => 'border-danger/50 bg-danger/10 text-danger'], ]; @endphp

ওয়ালেট

আপনার ব্যালেন্স, আয় ও উত্তোলনের সারসংক্ষেপ

উত্তোলনযোগ্য ব্যালেন্স

৳ {{ number_format($available, 2) }}

অপেক্ষমাণ আয় ৳ {{ number_format($pending, 2) }}

অপেক্ষমাণ আয় অনুমোদনের পর উত্তোলনযোগ্য ব্যালেন্সে যোগ হবে।

@if ($withdrawalsEnabled && ! $openWithdrawal) @if (! $hasActivePackage)

প্যাকেজ কিনে আয় বাড়ান

প্যাকেজ থেকে ইঙ্কাম করুন । প্যাকেজ কিনলে ২০ দিন পর্যন্ত প্রতিদিন আয় পাবেন।

প্যাকেজ কিনুন →
@elseif (! $canWithdraw)

উত্তোলনের জন্য সর্বনিম্ন ৳ {{ number_format($minimum, 2) }} উত্তোলনযোগ্য ব্যালেন্স প্রয়োজন।

@endif @endif @if ($openWithdrawal) @php $openMeta = $withdrawalStatus[$openWithdrawal->status] ?? $withdrawalStatus['pending']; @endphp

চলমান উত্তোলনের অনুরোধ

পরিমাণ ৳ {{ number_format((float) $openWithdrawal->amount, 2) }}
অবস্থা {{ $openMeta['label'] }}

অনুরোধটি সম্পন্ন হওয়ার আগে নতুন উত্তোলনের অনুরোধ করা যাবে না।

@endif

সাম্প্রতিক লেনদেন

সব দেখুন
@if ($recentTransactions->isEmpty())
@else
@foreach ($recentTransactions as $transaction) @php $meta = $transactionStatus[$transaction->status] ?? $transactionStatus['pending']; $isIncoming = in_array($transaction->type, ['earning', 'bonus', 'deposit', 'adjustment'], true); @endphp

{{ $transactionTypes[$transaction->type] ?? $transaction->type }}

{{ $isIncoming ? '+' : '−' }} ৳ {{ number_format((float) $transaction->amount, 2) }}

{{ $meta['label'] }}

{{ $transaction->created_at->format('d/m/Y, h:i a') }}

@if ($transaction->description)

{{ $transaction->description }}

@endif
@endforeach
@endif

সাম্প্রতিক উত্তোলন

@if ($recentWithdrawals->isEmpty())
@else
@foreach ($recentWithdrawals as $withdrawal) @php $meta = $withdrawalStatus[$withdrawal->status] ?? $withdrawalStatus['pending']; @endphp

৳ {{ number_format((float) $withdrawal->amount, 2) }}

{{ $meta['label'] }}
{{ $withdrawal->requested_at?->format('d/m/Y, h:i a') ?? $withdrawal->created_at->format('d/m/Y, h:i a') }} রেফারেন্স: {{ $withdrawal->reference }}
@endforeach
@endif