Remaining Credits
{{ auth()->user()->credits }}
1 credit = 1 test session
Active Plan
{{ $activeSubscription ? ucfirst(str_replace('_', ' ', $activeSubscription->plan_name)) : 'No Active Plan' }}
Expiry Date
{{ $activeSubscription ? $activeSubscription->end_date->format('M d, Y') : 'N/A' }}
@if($activeSubscription){{ $activeSubscription->remainingDays() }} days remaining
@endifTotal Tests Taken
{{ auth()->user()->testSessions()->count() }}
| Date | Plan | Amount | Method | Status |
|---|---|---|---|---|
| {{ $payment->created_at->format('M d, Y') }} | {{ $payment->plan ? $payment->plan->display_name : 'N/A' }} | ${{ number_format($payment->amount, 2) }} | @if($payment->payment_method === 'stripe') @elseif($payment->payment_method === 'paypal') @endif {{ $payment->payment_method }} | @if($payment->status === 'completed') Completed @elseif($payment->status === 'pending') Pending @else Failed @endif |