@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->getNewOrActiveGeneralSubscription() && !$customer->getNewOrActiveGeneralSubscription()->isEnded() && $customer->getNewOrActiveGeneralSubscription()->planGeneral->uid == $plan->uid) {{ trans('messages.plan.current_subscribed') }} @else @endif
@endforeach
@endif
@endsection