@extends('user.user_dashboard') @section('home')
Subscription
Dashboard / Subscription
@php $id = Auth::user()->id; $profileData = App\Models\User::find($id); // Get the latest active subscription if it exists $subscription = $profileData ->subscriptions() ->where('status', 'active') ->where('end_date', '>', now()) ->latest() ->first(); $today = now(); // Get eighteen deluxe months subscription if it exists $subscriptiondeluxe = $profileData ->subscriptions() ->where('status', 'active') ->where('subscription_duration', 'eighteen') ->latest() ->first(); @endphp @if ($subscription)
{{--
--}}
You Have An Active {{ $subscription->subscription_duration }} {{ $subscription->subscription_name }}
Subscription Expires: {{ \Carbon\Carbon::parse($subscription->end_date)->format('F jS, Y') }}
@else @endif

SUBSCRIPTION

@if ($subscription) @else
Subscribe To Access TPOYM Enhanced Study
@endif {{-- --}}
@csrf
@error('voucher_code') {{ $message }} @enderror
Monthly
-50%
Subscription

{{ $monthly_platinum->amount_esp * 2 }} Espees | {{ $monthly_platinum->amount_usd * 2 }} USD {{-- | NGN {{ $monthly_silver->amount_ngn }} --}}

{{ $monthly_platinum->amount_esp }} Espees | {{ $monthly_platinum->amount_usd }} USD {{-- | NGN {{ $monthly_platinum->amount_ngn }} --}}

  • Chapter Study
  • Nuggets
  • Reflections
  • Testimonies and more
  • Quick Quizzes
  • Final Assessments
  • Certificate of Completion
  • Assisted Study Features


Quarterly
-50%
Subscription

{{ $quarterly_platinum->amount_esp * 2 }} Espees | {{ $quarterly_platinum->amount_usd * 2 }} USD {{-- | NGN {{ $monthly_silver->amount_ngn }} --}}

{{ $quarterly_platinum->amount_esp }} Espees | {{ $quarterly_platinum->amount_usd }} USD {{-- | NGN {{ $quarterly_platinum->amount_ngn }} --}}

  • Chapter Study
  • Nuggets
  • Reflections
  • Testimonies and more
  • Quick Quizzes
  • Final Assessments
  • Certificate of Completion
  • Assisted Study Features


Yearly
-50%
Subscription

{{ $yearly_platinum->amount_esp * 2 }} Espees | {{ $yearly_platinum->amount_usd * 2 }} USD {{-- | NGN {{ $monthly_silver->amount_ngn }} --}}

{{ $yearly_platinum->amount_esp }} Espees | {{ $yearly_platinum->amount_usd }} USD {{-- | NGN {{ $yearly_platinum->amount_ngn }} --}}

  • Chapter Study
  • Nuggets
  • Reflections
  • Testimonies and more
  • Quick Quizzes
  • Final Assessments
  • Certificate of Completion
  • Assisted Study Features


@endsection