@php use \App\Enums\TransactionType; use \App\Enums\TransactionStatus; $amount = $transaction->total; $currency = $transaction->currency; $tnx_amount = $transaction->tnx_amount; $tnx_currency = $transaction->tnx_currency; $user_amount = money($transaction->tnx_amount, $transaction->tnx_currency, ['dp' => 'calc']); if($transaction->tnx_currency!=base_currency()) { $user_amount = money($transaction->tnx_amount, $transaction->tnx_currency, ['dp' => 'calc']) . ' ('. money($transaction->amount, $transaction->currency, ['dp' => 'calc']). ')'; } @endphp
{!! __('Withdraw ID# :orderid', ['type'=> $type, 'orderid' => ''.the_tnx($transaction->tnx).'' ]) !!}

{!! __("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, ['dp' => 'calc']) }} @if (data_get($transaction, 'tnx_fees')) {!! __("Total withdraw :amount including fees :fee.", ['amount' => ''.money(data_get($transaction, 'tnx_total'), $tnx_currency, ['dp' => 'calc']).'', 'fee' => ''.money(data_get($transaction, 'tnx_fees'), $tnx_currency, ['dp' => 'calc']).'']) !!} @endif
{{ __("Withdraw Method") }} {{ $transaction->method_name }}
{{ __("Withdraw Account") }} {{ data_get($transaction, 'meta.pay_meta.label') }}
{{ __("Payment Information") }} @if(data_get($transaction, 'tnx_method') === 'wd-bank-transfer') @if (data_get($transaction, 'meta.pay_meta.payment.acc_type')) @endif @if (data_get($transaction, 'meta.pay_meta.payment.acc_name')) @endif @if (data_get($transaction, 'meta.pay_meta.payment.acc_no')) @endif @if (data_get($transaction, 'meta.pay_meta.currency')) @endif @if (data_get($transaction, 'meta.pay_meta.payment.bank_name')) @endif @if (data_get($transaction, 'meta.pay_meta.payment.bank_branch')) @endif @if (data_get($transaction, 'meta.pay_meta.payment.bank_address')) @endif @if (data_get($transaction, 'meta.pay_meta.payment.country')) @endif @if (data_get($transaction, 'meta.pay_meta.payment.sortcode')) @endif @if (data_get($transaction, 'meta.pay_meta.payment.routing')) @endif @if (data_get($transaction, 'meta.pay_meta.payment.swift')) @endif @if (data_get($transaction, 'meta.pay_meta.payment.iban')) @endif
{{ __('Account Type') }} {{ ucfirst(data_get($transaction, 'meta.pay_meta.payment.acc_type')) }}
{{ __('Account Name') }} {{ ucfirst(data_get($transaction, 'meta.pay_meta.payment.acc_name')) }}
{{ __('Account Number') }} {{ ucfirst(data_get($transaction, 'meta.pay_meta.payment.acc_no')) }}
{{ __('Account Currency') }} {{ get_currency(data_get($transaction, 'meta.pay_meta.currency'), 'name') . ' ('.data_get($transaction, 'meta.pay_meta.currency').')' }}
{{ __('Bank Name') }} {{ data_get($transaction, 'meta.pay_meta.payment.bank_name') }}
{{ __('Branch') }} {{ data_get($transaction, 'meta.pay_meta.payment.bank_branch') }}
{{ __('Bank Address') }} {{ data_get($transaction, 'meta.pay_meta.payment.bank_address') }}
{{ __('Country') }} {{ data_get($transaction, 'meta.pay_meta.payment.country') }}
{{ __('Sort Code') }} {{ data_get($transaction, 'meta.pay_meta.payment.sortcode') }}
{{ __('Routing Number') }} {{ data_get($transaction, 'meta.pay_meta.payment.routing') }}
{{ __('Swift Code / BIC') }} {{ data_get($transaction, 'meta.pay_meta.payment.swift') }}
{{ __('IBAN Number') }} {{ data_get($transaction, 'meta.pay_meta.payment.iban') }}
@else @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 @endif
{{ __('Amount to :Calc', ['calc' => $transaction->calc]) }} {{ money($amount, $currency, ['dp' => 'calc']) }} @if (data_get($transaction, 'fees')) {!! (data_get($transaction, 'fees')) ? __('Amount included processing fees of :fee', ['fee' => ''.money(data_get($transaction, 'fees'), $currency, ['dp' => 'calc'])]).'' : '' !!} @endif

{!! __("Please confirm that you want to PROCCED this :type request.", ['type' => ''.strtoupper($type).'']) !!}