@php
$cpData = getCurrentPlanDetails();
$planText = $cpData['isExpired'] ? 'Current Expired Plan' : 'Current Plan';
$currentPlan = $cpData['currentPlan'];
@endphp
@endif
@if (currentActiveSubscription()->end_date >= \Carbon\Carbon::now())
@endif
@php
$newPlan = getProratedPlanData($subscriptionsPricingPlan->id);
@endphp
{{ $planText }}
Plan Name
{{ $cpData['name'] }}Plan Price
{{ getAdminSubscriptionPlanCurrencyIcon($currentPlan->currency_id) }} {{ number_format($currentPlan->price) }}Start Date
{{ $cpData['startAt'] }}End Date
{{ $cpData['endsAt'] }}Used Days
{{ $cpData['usedDays'] }} DaysRemaining Days
{{ $cpData['remainingDays'] }} DaysUsed Balance
{{ getAdminSubscriptionPlanCurrencyIcon($currentPlan->currency_id) }} {{ $cpData['usedBalance'] }}Remaining Balance
{{ getAdminSubscriptionPlanCurrencyIcon($currentPlan->currency_id) }} {{ $cpData['remainingBalance'] }}New Plan
Plan Name
{{ $newPlan['name'] }}Plan Price
{{ getAdminSubscriptionPlanCurrencyIcon($subscriptionsPricingPlan->currency_id) }} {{ number_format($subscriptionsPricingPlan->price) }}Start Date
{{ $newPlan['startDate'] }}End Date
{{ $newPlan['endDate'] }}Total Days
{{ $newPlan['totalDays'] }} DaysRemaining Balance of Prev. Plan
{{ getAdminSubscriptionPlanCurrencyIcon($subscriptionsPricingPlan->currency_id) }} {{ $newPlan['remainingBalance'] }}Payable Amount
{{ getAdminSubscriptionPlanCurrencyIcon($subscriptionsPricingPlan->currency_id) }} {{ $newPlan['amountToPay'] }}
{{ Form::select('payment_type', $paymentTypes, \App\Models\Subscription::TYPE_STRIPE, ['required', 'id' => 'paymentType']) }}
@if ($transction)