@extends('layouts.admin') @section('title', 'Plan Details') @section('content')
Plan Code
{{ $plan->plan_code }}
Created On
{{ $plan->created_at->format('M d, Y h:i A') }}
Amount
{{ $plan->formatted_amount }}
Currency
{{ $plan->currency }}
Billing Interval
{{ $plan->formatted_interval }}
Invoice Limit
{{ $plan->invoice_limit > 0 ? $plan->invoice_limit : 'Unlimited' }}
Send Invoices
{{ $plan->send_invoices ? 'Yes' : 'No' }}
Send SMS
{{ $plan->send_sms ? 'Yes' : 'No' }}
Description
{{ $plan->description }}
{{ $plan->subscriptions()->active()->count() }} active subscriptions
View Subscriptions @elseNo active subscriptions for this plan.
@endif