@extends('layouts.admin') @section('title', 'Manuel Odeme Yontemleri') @section('content') @php $totalMethods = $paymentMethods->count(); $activeMethods = $paymentMethods->where('is_active', true)->count(); $inactiveMethods = max(0, $totalMethods - $activeMethods); $firstActive = $paymentMethods->firstWhere('is_active', true); @endphp

Finans

Manuel Odeme Bilgileri

Havale, Papara ve kripto bilgilerini buradan yonetin. Aktif olan yontemler kullanicinin para yatirma ekraninda gorunur.

@if(session('success'))
{{ session('success') }}
@endif @if(isset($errors) && $errors->any())
{{ $errors->first() }}
@endif
Toplam
{{ $totalMethods }}

Kayitli odeme yontemi

Aktif
{{ $activeMethods }}

Kullanicilara gorunuyor

Pasif
{{ $inactiveMethods }}

Gizli tutulan yontem

Ilk Aktif
{{ $firstActive?->method_name ?? 'Yok' }}

Para yatirma ekraninda oncelikli

@foreach($paymentMethods as $method)

{{ $method->method_name }}

{{ $method->is_active ? 'Aktif' : 'Pasif' }}

{{ $method->method_key }} ยท Sira {{ $method->sort_order }}

Banka / Ag

{{ $method->bank_name ?: '-' }}

Alici

{{ $method->account_holder ?: '-' }}

IBAN / Cuzdan

{{ $method->account_number ?: '-' }}

@if($method->account_number) @endif

Limit

TRY {{ number_format((float) $method->min_amount, 0, ',', '.') }} - {{ number_format((float) $method->max_amount, 0, ',', '.') }}

Aciklama

{{ $method->instructions ?: 'Aciklama yok' }}

@endforeach
@endsection