@extends('layouts.popup.full') @section('title') {{ trans('messages.billing_information') }} @endsection @section('content')

{{ trans('messages.subscription.select_a_plan') }}

{{ trans('messages.subscription.change_plan.select_below') }}

@if (empty($plans))
@include('elements._notification', [ 'level' => 'danger', 'message' => trans('messages.plan.no_available_plan') ])
@else
@foreach ($plans as $plan)
{{ $plan->name }}

{{ $plan->description }}

{{ trans('messages.plan.starting_at') }}
{{ \Acelle\Library\Tool::format_price($plan->price, $plan->currency->format) }}
{{ $plan->displayFrequencyTime() }}
@if ($customer->getNewOrActiveSubscription() && !$customer->getNewOrActiveSubscription()->isEnded() && $customer->getNewOrActiveSubscription()->plan->uid == $plan->uid) {{ trans('messages.plan.current_subscribed') }} @else @endif
@endforeach
@endif
@endsection