@extends('layouts.admin') @section('title', 'Payment Methods') @section('content')
{{-- Toast --}} @if(session('success') || session('error')) @endif {{-- Header --}}

Payment Methods

ইউজারদের সাবস্ক্রিপশন পেমেন্ট নেওয়ার সব মেথড এখানে ম্যানেজ করুন।

+ Add Method
{{-- Card --}}

Payment Method List

সব active এবং inactive payment method এর তালিকা

Total: {{ $methods->total() }}
@if($methods->count() > 0)
@foreach($methods as $method) @php $photoUrl = !empty($method->photo) ? asset($method->photo) : null; @endphp @endforeach
ID Method Number Status Actions
#{{ $method->id }}
@if($photoUrl) {{ $method->name }} @else
💳
@endif
{{ $method->name }}
Payment gateway / method
{{ $method->number }} {{ $method->status === 'active' ? 'Active' : 'Inactive' }}
✏ Edit
@csrf @method('PATCH')
@csrf @method('DELETE')
{{ $methods->links() }}
@else
💳

No Payment Methods Found

এখনো কোনো payment method যোগ করা হয়নি।

@endif
@endsection @push('scripts') @endpush