@foreach ($errors->all() as $error)
{{ $error }}
@endforeach
@endif
@if(getAppSettings('enable_stripe') and !$isValidStripeKeys)
{{ __tr('Stripe is not correctly configured, Invalid Keys. Please contact administrator') }}
@endif
@if (request('success') == true and request('message'))
{{ request('message') }}
@elseif(request('message'))
{{ request('message') }}
@endif
@if ($currentPlan and ($isManualSubscription or $subscriber->subscribed($currentPlan['id'])))
@if ($subscriber->subscription($currentPlan['id'])?->onTrial())
{{ __tr('You are on trial until __trialEndsAt__', [
'__trialEndsAt__' => formatDateTime($subscriber->trialEndsAt($currentPlan['id']))
]) }}
{{ __tr('Subscription has been cancelled and you are on the grace period till __endsAt__', [
'__endsAt__' => formatDateTime($subscriber->subscription($currentPlan['id'])->ends_at)
]) }}
@endif
@endif
@if(getAppSettings('enable_stripe') and $isValidStripeKeys and $isCashierSubscription)
{{ __tr('Go to Billing Portal') }}
@if ($currentPlan and $isCashierSubscription and $subscriber->subscription($currentPlan['id']) and $subscriber->subscription($currentPlan['id'])->canceled() and $subscriber->subscription($currentPlan['id'])->onGracePeriod())
{{ __tr('Resume Subscription') }}
{{ __tr('You will be able to resume subscription while on grace period') }}
@endif
@if ($currentPlan and $isCashierSubscription and $subscriber->hasIncompletePayment($currentPlan['id']))