@extends('layouts.app') @section('title') {{ __('Withdraw money') }} @endsection @section('history_withdraw') active @endsection @section('section.header') {{ __('Withdraw money') }} {{ __('Withdrawal history')}} {{ __('Withdraw money') }} @endsection @section('section.content') @can('history_withdraw') Loading... {{ __('Withdrawing money, please wait...')}} {{ __('Your account information') }} {{ __('Bank/Wallet') }} {{ __('Account name') }} {{ __('Account number') }} {{ __('balance') }} {{ __('refresh') }} @csrf @method('PUT') {{ __('Fill in withdrawal information') }} @if ($bankAccount->bank->name == 'MOMO') {{ __('Amount to withdraw*') }} @if(config('app.name') !== 'BBPay' && config('app.name') !== 'RoyalPay') {{ __('Withdraw to affiliated bank') }} @endif @error('amount') * {{ $message }} @enderror @else {{ __('Amount to withdraw*') }} @error('amount') * {{ $message }} @enderror @endif {{ __('Bank name*') }} {{ __('--Select bank name--') }} @foreach (config('bank') as $bank) {{ $bank['bank_name'] }} ({{ $bank['display_name'] }}) @endforeach @error('bank_name') * {{ $message }} @enderror @if (!empty($authMethods)) {{ __('Method of receiving OTP code') }} * @foreach ($authMethods as $authMethod) {{ AUTH_METHODS[$authMethod] }} @endforeach @error('bank_name') * {{ $message }} @enderror @endif {{ __('Account number*') }} {{ __('Check') }} @error('bank_account') * {{ $message }} @enderror {{ __('Account owner*') }} {{ __('Content (*unsigned)') }} Rut tien {{ __('OTP authentication*') }} {{ __('(Each OTP is valid for 2 minutes)')}} {{ __('Get OTP code') }} {{ __('Resend OTP') }} @error('confirm_otp') * {{ $message }} @enderror @if (Session::has('otpError')) {{ Session::get('otpError') }} @endif {{ __('submit') }} {{ __('Enter OTP authentication code') }} × @csrf @error('otp_confirm') * {{ $message }} @enderror @else {{ __('You are not authorized to perform this feature')}} @endcan @endsection @section('scripts') @endsection @section('styles') @endsection