@extends('layouts.admin') @section('title', 'Subscription Plans') @push('styles') @endpush @section('content')
@forelse(($plans ?? []) as $plan) @empty @endforelse
Name Module Monthly Price Yearly Price Features Active Users Status Actions
{{ $plan->name }} {{ ucfirst($plan->module ?? 'platform') }} @if(($plan->price_monthly ?? 0) > 0) ₦{{ number_format($plan->price_monthly, 2) }} @else Free @endif @if(($plan->price_yearly ?? 0) > 0) ₦{{ number_format($plan->price_yearly, 2) }} @else Free @endif {{ count($plan->features) }} {{ number_format($plan->active_subscribers_count ?? 0) }} {{ $plan->is_active ? 'Active' : 'Inactive' }}
@csrf @method('PATCH')
No plans created yet.
@endsection