@if( $method=='cancel' || $method=='reject' )
@include('admin.transaction.modal.action-cancel', ['transaction' => $transaction, 'method' => $method, 'type' => $type])
@elseif($method=='approve' && $type==TransactionType::DEPOSIT)
@include('admin.transaction.modal.action-deposit', ['transaction' => $transaction, 'method' => $method, 'type' => $type])
@elseif($method=='approve' && $type==TransactionType::REFERRAL)
@include('admin.transaction.modal.action-referral', ['transaction' => $transaction, 'method' => $method, 'type' => $type])
@elseif($type==TransactionType::WITHDRAW && (in_array($method, ['confirm', 'approve'])))
@if($method=='confirm')
@include('admin.transaction.modal.action-confirm', ['transaction' => $transaction, 'method' => $method, 'type' => $type])
@else
@include('admin.transaction.modal.action-withdraw', ['transaction' => $transaction, 'method' => $method, 'type' => $type])
@endif
@else
{{ __("Invalid Action") }}
{{ __("Sorry, we unable to procced your request. The action may not valid to apply or already applied on this transaction.") }}
{{ __("Please reload the page and try once again.") }}
@endif