@extends('header') @section('content') @parent @include('accounts.nav', ['selected' => ACCOUNT_MANAGEMENT])
@if ($planDetails && $planDetails['active']) {{ trans('texts.plan_'.$planDetails['plan']) }} @if ($planDetails['trial']) ({{ trans('texts.plan_trial') }}) @elseif ($planDetails['expires']) ({{ trans('texts.plan_term_'.$planDetails['term'].'ly') }}) @endif @elseif(Utils::isNinjaProd()) {{ trans('texts.plan_free') }} @else {{ trans('texts.plan_free_self_hosted') }} @endif
@if ($planDetails['expires'] === false) {{ trans('texts.never') }} @else {{ Utils::dateToString($planDetails['expires']) }} @endif
@if ($account->company->pending_plan == PLAN_FREE)
{{ trans('texts.plan_changes_to', [
'plan'=>trans('texts.plan_free'),
'date'=>Utils::dateToString($planDetails['expires'])
]) }}
@else
{{ trans('texts.plan_term_changes_to', [
'plan'=>trans('texts.plan_'.$account->company->pending_plan),
'term'=>trans('texts.plan_term_'.$account->company->pending_term.'ly'),
'date'=>Utils::dateToString($planDetails['expires'])
]) }}
@endif
{{ trans('texts.cancel_plan_change') }}
{{ Utils::dateToString($planDetails['expires']) }}