@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
@elseif($method=='approve' && $type==TransactionType::TRANSFER && module_exist('FundTransfer', 'mod') && view()->exists('FundTransfer::admin.action-transfer'))
@include('FundTransfer::admin.action-transfer', ['transaction' => $transaction, 'method' => $method, 'type' => $type])
@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