@extends('layouts.app') @section('body-class', 'page-wallet') @section('content') @hookinsert('account.withdrawals_create.top')
@include('shared.account-sidebar')
{{ __('front/withdrawal.apply_withdrawal') }}
@if (session('success')) @endif @if (session('error')) @endif
{{ __('front/withdrawal.wallet_balance') }}
{{ currency_format($available_balance) }}
{{ __('front/withdrawal.available_balance') }}
{{ __('front/withdrawal.balance_note') }}
@if($has_pending_withdrawal)
{{ __('front/withdrawal.has_pending_withdrawal') }}
@else
@csrf
{{ current_currency_code() }}
@error('amount')
{{ $message }}
@enderror
{{ __('front/withdrawal.available_balance') }}: {{ currency_format($available_balance) }}
@error('account_type')
{{ $message }}
@enderror
@error('account_number')
{{ $message }}
@enderror
@error('comment')
{{ $message }}
@enderror
{{ __('front/common.cancel') }}
@endif
@hookinsert('account.withdrawals_create.bottom') @endsection @push('footer') @endpush