@php use \App\Enums\TransactionType; use \App\Enums\TransactionStatus; $amount = $transaction->amount; $currency = $transaction->currency; $tnx_amount = $transaction->tnx_amount; $tnx_currency = $transaction->tnx_currency; $user_amount = money($transaction->tnx_amount, $transaction->tnx_currency); if($transaction->tnx_currency!=base_currency()) { $user_amount = money($transaction->tnx_amount, $transaction->tnx_currency) . ' ('. money($transaction->amount, $transaction->currency). ')'; } @endphp
{!! __("User (:name) request to withdraw :amount via :Method. Please check out the details and send payment to user account below.", ['method' => ''.$transaction->method_name.'', 'amount' => ''.$user_amount.'', 'name' => ''.the_uid($transaction->customer->id).'' ]) !!}
{{ __("Withdraw Amount") }} | {{ money($tnx_amount, $tnx_currency) }} |
{{ __("Withdraw Method") }} | {{ $transaction->method_name }} |
{{ __("Withdraw Account") }} | {{ data_get($transaction, 'meta.pay_meta.label') }} |
{{ __("Payment Information") }} |
@if(data_get($transaction, 'tnx_method') === 'wd-paypal')
@if(data_get($transaction,'meta.pay_meta.payment'))
{{ __("Email Address / PayPal") }}
{{ data_get($transaction,'meta.pay_meta.payment') }}
@endif
@endif
@if (data_get($transaction, 'meta.pay_meta.currency'))
{{ data_get($transaction, 'tnx_method') === 'wd-crypto' ? __("Wallet Type") : __('Account Currency') }}
{{ get_currency(data_get($transaction, 'meta.pay_meta.currency'), 'name') . ' ('.data_get($transaction, 'meta.pay_meta.currency').')' }}
@endif
@if (data_get($transaction, 'meta.pay_meta.wallet'))
{{ __("Wallet Address") }}
{{ data_get($transaction, 'meta.pay_meta.wallet') }}
@endif
@if (data_get($transaction, 'meta.pay_meta.payment.acc_name'))
{{ __("Account Name") }}
{{ data_get($transaction, 'meta.pay_meta.payment.acc_name') }}
@endif
@if (data_get($transaction, 'meta.pay_meta.payment.acc_no'))
{{ __("Account Number") }}
{{ data_get($transaction, 'meta.pay_meta.payment.acc_no') }}
@endif
@if (data_get($transaction, 'meta.pay_meta.payment.bank_name'))
{{ __("Bank Name") }}
{{ data_get($transaction, 'meta.pay_meta.payment.bank_name') }}
@endif
@if (data_get($transaction, 'meta.pay_meta.payment.bank_branch'))
{{ __("Branch") }}
{{ data_get($transaction, 'meta.pay_meta.payment.bank_branch') }}
@endif
|
{{ __('Amount to :Calc', ['calc' => $transaction->calc]) }} | {{ money($amount, $currency) }} |
{{ __("You able to complete the withdraw after confirm the withdraw request.") }}
{{ __("User unable to cancel the withdraw request once you have confirmed.") }}