@php $requested_withdrawals = App\Models\Payout::where('user_id', auth()->user()->id) ->where('status', 0) ->exists(); $balance = instructor_available_balance(); @endphp @if ($requested_withdrawals) @elseif($balance > 0)
@csrf
{{ get_phrase('The amount should not be more than') . ' ' . currency(number_format($balance, 2)) }}
@else @endif