@php use App\Enums\MethodType; @endphp @extends('backend.deposit.index') @section('title', $type->label().' '. __('Methods')) @section('deposit_header') @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 | Currency') }} {{ __('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}}
{{ $paymentMethod->status ? __('Active') : __('Inactive') }} @if( (isset($paymentMethod->paymentGateway) && $paymentMethod->paymentGateway->status) || $paymentMethod->type == 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') @endcan @endsection @push('scripts') @can('deposit-method-manage') @include('backend.deposit.method.partials._scripts') @endcan @endpush