@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 }}
{{ __('messages.subscription_plans.plan_name') }}
{{ $cpData['name'] }}{{ __('messages.subscription_plans.plan_price') }}
{{ getAdminSubscriptionPlanCurrencyIcon($currentPlan->currency_id) }} {{ number_format($currentPlan->price) }}{{ __('messages.subscription_plans.start_date') }}
{{ $cpData['startAt'] }}{{ __('messages.subscription_plans.end_date') }}
{{ $cpData['endsAt'] }}{{ __('messages.subscription_plans.used_days') }}
{{ $cpData['usedDays'] }} {{ __('messages.common.days') }}{{ __('messages.subscription_plans.remaining_days') }}
{{ $cpData['remainingDays'] }} {{ __('messages.common.days') }}{{ __('messages.subscription_plans.used_balance') }}
{{ getAdminSubscriptionPlanCurrencyIcon($currentPlan->currency_id) }} {{ $cpData['usedBalance'] }}{{ __('messages.subscription_plans.remaining_balance') }}
{{ getAdminSubscriptionPlanCurrencyIcon($currentPlan->currency_id) }} {{ $cpData['remainingBalance'] }}{{ __('messages.subscription_plans.new_plan') }}
{{ __('messages.subscription_plans.plan_name') }}
{{ $newPlan['name'] }}{{ __('messages.subscription_plans.plan_price') }}
{{ getAdminSubscriptionPlanCurrencyIcon($subscriptionsPricingPlan->currency_id) }} {{ number_format($subscriptionsPricingPlan->price) }}{{ __('messages.subscription_plans.start_date') }}
{{ $newPlan['startDate'] }}{{ __('messages.subscription_plans.end_date') }}
{{ $newPlan['endDate'] }}{{ __('messages.subscription_plans.total_days') }}
{{ $newPlan['totalDays'] }} {{ __('messages.common.days') }}{{ __('messages.subscription_plans.Remaining_Balance_of_Prev_Plan') }}
{{ getAdminSubscriptionPlanCurrencyIcon($subscriptionsPricingPlan->currency_id) }} {{ $newPlan['remainingBalance'] }}{{ __('messages.payment.payable_amount') }}
{{ getAdminSubscriptionPlanCurrencyIcon($subscriptionsPricingPlan->currency_id) }} {{ $newPlan['amountToPay'] }}
{{ Form::select('payment_type', $paymentTypes, \App\Models\Subscription::TYPE_STRIPE, ['required', 'id' => 'paymentType']) }}
@if ($transction)