@extends('layouts.admin') @section('title', 'Subscription Requests') @section('content')

Subscription Requests

Review and manage user payment requests.

Total Requests

{{ $stats['total'] }}

Pending

{{ $stats['pending'] }}

Approved

{{ $stats['approved'] }}

Cancelled

{{ $stats['cancelled'] }}

@forelse($subscriptionRequests as $item) @empty @endforelse
User Plan Method TRX ID Screenshot Status Date Actions
{{ $item->user->name ?? 'N/A' }}
{{ $item->user->email ?? 'N/A' }}
{{ $item->plan->name ?? 'N/A' }}
{{ $item->plan ? number_format($item->plan->price, 2) : '0.00' }} ৳ · {{ $item->plan->duration_days ?? 0 }} days
{{ $item->paymentMethod->name ?? 'N/A' }}
{{ $item->paymentMethod->number ?? 'N/A' }}
{{ $item->trx_id }} @if($item->payment_screenshot) Screenshot @else No image @endif @if($item->status === 'pending') Pending @elseif($item->status === 'approved') Approved @else Cancelled @endif
{{ $item->created_at->format('d M, Y') }}
{{ $item->created_at->format('h:i A') }}
View @if($item->status === 'pending')
@csrf
@csrf
@endif

No subscription requests found

There are no requests available right now.

@if($subscriptionRequests->hasPages())
{{ $subscriptionRequests->links() }}
@endif
@endsection @section('scripts') @endsection