@extends('layouts.core.frontend_no_subscription', [ 'menu' => 'subscription', ]) @section('title', trans('messages.subscription')) @section('head') @endsection @section('page_header')
{!! trans('messages.subscription.current_subscription.wording', [ 'plan' => $plan->name, 'money' => Acelle\Library\Tool::format_price($plan->price, $plan->currency->format), 'remain' => $subscription->current_period_ends_at->diffForHumans(), 'next_on' => Auth::user()->customer->formatDateTime($subscription->current_period_ends_at, 'datetime_full') ]) !!}
@else{!! trans('messages.subscription.current_subscription.cancel_at_end_of_period.wording', [ 'plan' => $plan->name, 'money' => Acelle\Library\Tool::format_price($plan->price, $plan->currency->format), 'remain' => $subscription->current_period_ends_at->diffForHumans(), 'end_at' => Auth::user()->customer->formatDateTime($subscription->current_period_ends_at, 'datetime_full') ]) !!}
@endif @if (\Auth::user()->customer->can('disableRecurring', $subscription)) {{ trans('messages.subscription.disable_recurring') }} @endif @if (\Auth::user()->customer->can('enableRecurring', $subscription)) {{ trans('messages.subscription.enable_recurring') }} @endif @if (\Auth::user()->customer->can('changePlan', $subscription)) $subscription->uid]) }}" class="btn btn-default change_plan_button me-1" data-size="sm" > {{ trans('messages.subscription.change_plan') }} @endif @if (\Auth::user()->customer->can('cancelNow', $subscription)) {{ trans('messages.subscription.cancel_now') }} @endif @endif{{ trans('messages.plan_details.intro') }}
@include('plans._details', ['plan' => $plan])