@if ($action === 'list')

Payment Methods

Add Payment Method
@if(session()->has('message'))
{{ session('message') }}
@endif @foreach($paymentMethods as $method) @endforeach
Image Name Type Provider Currency Min Amount Max Amount Deposit Allowed Withdrawal Allowed Status Action
@if($method->image) {{ $method->image }} @else No Image @endif {{ $method->name }} {{ $method->type?->title }} {{ $method->provider }} {{ $method->currency }} {{ $method->min_amount }} {{ $method->max_amount }} {{ $method->is_deposit_allowed ? 'Yes' : 'No' }} {{ $method->is_withdrawal_allowed ? 'Yes' : 'No' }} @if($method->is_active) Active @else Inactive @endif @if($method->is_active) @else @endif
{{ $paymentMethods->links() }}
@else
@if($viewMode)

Payment Method Details

{{ $name }}

{{ $typeList->where('id', $type_id)->first()->title ?? '-' }}

{{ $provider ?? '-' }}

{{ $currency ?? '-' }}

{{ number_format($min_amount, 2) }}

{{ number_format($max_amount, 2) }}

@if($is_deposit_allowed) Yes @else No @endif

@if($is_withdrawal_allowed) Yes @else No @endif


@if($oldImage) Payment Image @else

No image available

@endif
@else

{{ $action === 'create' ? 'Add Payment Method' : 'Edit Payment Method' }}

@include('livewire.admin.partials.payment-method-form')
@endif
@endif