Subscription

Current Subscription

@if($subscription)
{{ $subscription->status->label() }} @if($subscription->plan) {{ $subscription->plan->name }} @endif

Started

{{ $subscription->starts_at->format('M d, Y') }}

Expires

{{ $subscription->expires_at->format('M d, Y') }}

Days Remaining

{{ $subscription->daysRemaining() }} day(s)

@else

You do not have an active subscription. Contact admin to activate one.

@endif

Available Plans

To subscribe or renew, make payment to the bank details below and contact the admin for activation.

@if($plans->count())
@foreach($plans as $plan)

{{ $plan->name }}

@if($plan->description)

{{ $plan->description }}

@endif

{{ $plan->formatted_price }}

{{ $plan->duration_days }} days

@endforeach
@else

No plans available at the moment.

@endif
@php $bankDetails = \App\Models\SiteConfig::getBankDetails(); @endphp

How to Subscribe

  1. Choose a plan from above
  2. Make payment via bank transfer to the account below
  3. Contact the admin with your proof of payment
  4. Admin will activate your subscription once payment is confirmed
@if($bankDetails['bank_name'] && $bankDetails['account_number'])

Bank Transfer Details:

Bank: {{ $bankDetails['bank_name'] }}

Account Name: {{ $bankDetails['account_name'] }}

Account Number: {{ $bankDetails['account_number'] }}

@endif
@if($allSubscriptions->count())

Subscription History

@foreach($allSubscriptions as $sub) @endforeach
Plan Status Started Expired
{{ $sub->plan?->name ?? 'N/A' }} {{ $sub->status->label() }} {{ $sub->starts_at->format('M d, Y') }} {{ $sub->expires_at->format('M d, Y') }}
@endif