@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
{!! __('Cancellation of #:orderid', ['type'=> $type, 'orderid' => ''.the_tnx($transaction->tnx).'' ]) !!}
@if ($type==TransactionType::REFERRAL)

{!! __("Do you want to cancel this referral commission?") !!}

@else

{!! __("Are you sure you want to cancel this :type request? ", ['type' => $type, 'amount' => ''.$user_amount.'', 'method' => $transaction->method_name]) !!}

@endif
{{ __('The note or remarks help to reminder. Only administrator can read from transaction details.') }}
@if ($type==TransactionType::REFERRAL)

{!! __("Please confirm that you want to CANCEL the :type.", ['type' => ''.strtoupper('commission').'']) !!}

@else

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

@endif
    @if($type==TransactionType::DEPOSIT)
  • {{ __("You can cancel the transaction if you've not received the payment yet.") }}

  • @endif @if($type==TransactionType::WITHDRAW)
  • {{ __("The withdraw amount will re-adjust into account once you confirm and cancelled.") }}

  • @endif @if ($type!=TransactionType::REFERRAL)
  • {{ __("User will get email notification once cancelled the transaction.") }}

  • @endif
  • {{ __("You can not undo this action once you confirm and cancelled.") }}