@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
{!! __("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')
{{ __("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 |
{{ __("You able to complete the withdraw after confirm the withdraw request.") }}
{{ __("User unable to cancel the withdraw request once you have confirmed.") }}