@extends('profile.index') @section('profile-content') @include('include.message')
@csrf
{{ __('Plan') }}
{{ $user->plan->name }}
@if (!$user->planOnDefault()) @if ($user->plan_payment_gateway)
{{ __('Gateway') }}
{!! ucwords($user->plan_payment_gateway) !!}
@endif @if ($user->plan_amount && $user->plan_currency && $user->plan_interval)
{{ __('Amount') }}
{{ formatMoney($user->plan_amount, $user->plan_currency) }} {{ $user->plan_currency }} / {{ $user->plan_interval == 'month' || $user->plan_interval == 'monthly' ? __('Month') : __('Year') }}
@endif @if ($user->plan_recurring_at)
{{ __('Recurring at') }}
{{ $user->plan_recurring_at }}
@endif @if ($user->plan_trial_ends_at && $user->plan_trial_ends_at->gt(Carbon\Carbon::now()))
{{ __('Trial ends at') }}
{{ $user->plan_trial_ends_at }}
@endif @if ($user->plan_ends_at)
{{ __('Ends at') }}
{{ $user->plan_ends_at }}
@endif @endif
@if ($user->plan_recurring_at) @endif @if (getAuthUserInfo('role') != 'admin') @endif
@endsection