@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, ['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 send the payment to user account and complete the withdraw.", ['method' => ''.$transaction->method_name.'', 'amount' => ''.$user_amount.'', 'name' => ''.the_uid($transaction->customer->id).'' ]) !!}
@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{{ __("User will get email notification once completed the withdraw.") }}
{{ __("You can not undo this action once you confirm and completed.") }}