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

{{ __(':type Deposit Methods', ['type' => $type->label()]) }}

{{ __('Easily manage, create, or update all :type deposit methods for your platform from this page.', ['type' => $type->label()]) }}
@can('deposit-method-manage') @if($type->isAutomatic()) {{ __('Payment Gateways') }} @endif {{ __('Create').' '. $type->label().' ' . __('Method') }} @endcan
@endSection @section('deposit_content')
@can('deposit-method-manage') @endcan @foreach($paymentMethods as $paymentMethod) @can('deposit-method-manage') @endcan @endforeach
{{ __('Logo') }} {{ __('Name|Cu // rrency') }} {{ __('Min|Max Deposit') }} {{ __('Rate Type|Rate') }} {{ __('Charges') }} {{ __('Status') }}{{ __('Action') }}
{{ title($paymentMethod->name) }}
{{ $paymentMethod->currency }}
{{ $paymentMethod->currency_symbol }}{{ $paymentMethod->min_deposit }}
{{ $paymentMethod->currency_symbol }}{{ $paymentMethod->max_deposit }}
@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
{{ $paymentMethod->status ? __('Active') : __('Inactive') }} @if( (isset($paymentMethod->paymentGateway) && $paymentMethod->paymentGateway->status) || $paymentMethod->type == \App\Enums\MethodType::MANUAL ) @else @endif
{{ $paymentMethods->links() }}
@can('deposit-method-manage') @include('backend.deposit.method.partials._new_payment_method_modal') @include('backend.deposit.method.partials._edit_payment_method_modal') @php $fields = $paymentMethod->fields; $fieldCount = $fields ? count($fields) : 0; @endphp @endcan @endsection @push('scripts') @can('deposit-method-manage') @include('backend.deposit.method.partials._scripts') @endcan @endpush