@extends('layouts.admin') @section('title', 'Premium Subscription Management') @section('content')
Premium Subscription Control Panel
Active Premium
£{{ number_format($activeAmount,2) }}
Expired
£{{ $expiredCount }}
Pending Payments
£{{ number_format($pendingAmount,2) }}
Total Revenue
£{{ number_format($revenueAmount,2) }}
| Customer | Phone | Plan | Status | Fee | Expires | Action |
|---|---|---|---|---|---|---|
| {{ $sub->user->name }} | {{ $sub->user->phone }} | {{ ucfirst($sub->plan) }} | {{ ucfirst($sub->status) }} | £{{ $sub->fee }} | @if($sub->expires_at && \Illuminate\Support\Carbon::parse($sub->expires_at)->isPast()) Expired @elseif($sub->expires_at) {{ \Illuminate\Support\Carbon::parse($sub->expires_at)->format('M d, Y') }} @else N/A @endif | View Customer |
Phone: {{ $sub->user->phone }}
Plan: {{ ucfirst($sub->plan) }}
Fee: £{{ $sub->fee }}
Expires: @if($sub->expires_at && \Illuminate\Support\Carbon::parse($sub->expires_at)->isPast()) Expired @elseif($sub->expires_at) {{ \Illuminate\Support\Carbon::parse($sub->expires_at)->format('M d, Y') }} @else N/A @endif
Send payment link or instantly assign a plan