@extends('backend.withdraw.index') @section('title', $type->label().' '. __('Methods')) @section('withdraw_header')

{{ $type->label() }} {{ __('Withdraw Methods') }}

@if($type->isAutomatic()) {{ __('Manage all automatic withdraw methods. These methods are processed instantly and require no manual intervention.') }} @elseif($type->isManual()) {{ __('Manage all manual withdraw methods. These require admin review and approval before processing.') }} @endif
@can('withdraw-method-manage')
@if($type->isAutomatic()) {{ __('Payment Gateways') }} @endif {{ __('Create').' '. $type->label().' ' . __('Method') }}
@endcan
@endSection @section('withdraw_content')
@can('withdraw-method-manage') @endcan @foreach($paymentMethods as $paymentMethod) @can('withdraw-method-manage') @endcan @endforeach {{ $paymentMethods->links() }}
{{ __('Logo') }} {{ __('Name|Currency') }} {{ __('Min|Max withdraw') }} {{ __('Rate Type|Rate') }} {{ __('Charge') }} {{ __('Status') }}{{ __('Action') }}
{{ title($paymentMethod->name) }}
{{ $paymentMethod->currency }}
{{ $paymentMethod->currency_symbol }}{{ $paymentMethod->min_withdraw }}
{{ $paymentMethod->currency_symbol }}{{ $paymentMethod->max_withdraw }}
@if($paymentMethod->conversion_rate_live) {{ __('LIVE') }} @else {{ __('LOCAL') }} @endif
1 {{ siteCurrency() }} = {{ $paymentMethod->conversion_rate }} {{ $paymentMethod->currency }}
User: @if($paymentMethod->user_charge_type && $paymentMethod->user_charge_type->isPercent()) {{ $paymentMethod->user_charge ?? 0 }}% @else {{ $paymentMethod->currency_symbol }}{{ $paymentMethod->user_charge ?? 0 }} @endif
Merchant: @if($paymentMethod->merchant_charge_type && $paymentMethod->merchant_charge_type->isPercent()) {{ $paymentMethod->merchant_charge ?? 0 }}% @else {{ $paymentMethod->currency_symbol }}{{ $paymentMethod->merchant_charge ?? 0 }} @endif
@if($paymentMethod->status) {{ __('Active') }} @else {{ __('Inactive') }} @endif @if( (isset($paymentMethod->paymentGateway) && $paymentMethod->paymentGateway->status) || $paymentMethod->type == \App\Enums\MethodType::MANUAL ) @else @endif
@can('withdraw-method-manage') @include('backend.withdraw.method.partials._new_payment_method_modal') @include('backend.withdraw.method.partials._edit_payment_method_modal') @php $fields = $paymentMethods->last()?->fields; $fieldCount = is_countable($fields) ? count($fields) : 0; @endphp @endcan @endsection @push('scripts') @can('withdraw-method-manage') @include('backend.withdraw.method.partials._scripts') @endcan @endpush