{{ $plan->name }}
@if (\Auth::user()->type == 'company' && \Auth::user()->plan == $plan->id)
{{ __('Active') }}
@endif
@if (\Auth::user()->type == 'super admin')
@can('edit plan')
@endcan
@endif
{{ env('CURRENCY_SYMBOL') ? env('CURRENCY_SYMBOL') : '$' }}{{ $plan->price }}{{ __('/ Duration : ') . __(ucfirst($plan->duration)) }}
{{ $plan->description }}
-
{{ count($plan->getThemes()) }} {{ __('Themes') }}
-
{{ $plan->business == '-1' ? 'Unlimited' : $plan->business }} {{ __('Business') }}
-
{{ $plan->max_users == '-1' ? 'Unlimited' : $plan->max_users }} {{ __('Users') }}
@if ($plan->enable_custdomain == 'on')
-
{{ __('Custom Domain') }}
@else
-
{{ __('Custom Domain') }}
@endif
@if ($plan->enable_custsubdomain == 'on')
-
{{ __('Sub Domain') }}
@else
-
{{ __('Sub Domain') }}
@endif
@if ($plan->enable_branding == 'on')
-
{{ __('Branding') }}
@else
-
{{ __('Branding') }}
@endif
@if ($plan->enable_qr_code == 'on')
-
{{ __('QR Code') }}
@else
-
{{ __('QR Code') }}
@endif
@if ($plan->pwa_business == 'on')
-
{{ __('Progressive Web App (PWA)') }}
@else
-
{{ __('Progressive Web App (PWA)') }}
@endif
@if ($plan->enable_chatgpt == 'on')
-
{{ __('Chatgpt') }}
@else
-
{{ __('Chatgpt') }}
@endif
-
{{ $plan->storage_limit }} {{ __('MB Storage Limit') }}
@if (\Auth::user()->type == 'company' && \Auth::user()->plan == $plan->id)
@if ($plan->duration !== 'Lifetime')
@if (
\Auth::user()->type == 'company' &&
(empty(\Auth::user()->plan_expire_date) || \Auth::user()->plan_expire_date < date('Y-m-d')))
{{ __('Plan Expired') }}
@else
{{ __('Plan Expired : ') }}
{{ !empty(\Auth::user()->plan_expire_date) ? date('d-m-Y', strtotime(\Auth::user()->plan_expire_date)) : 'Lifetime' }}
@endif
@else
{{ __('Plan Expired : Lifetime') }}
@endif
@endif
@if (
\Auth::user()->type == 'company' &&
(empty(\Auth::user()->plan_expire_date) || \Auth::user()->plan_expire_date < date('Y-m-d')))
@if (App\Models\Utility::getPaymentIsOn())
@if ($plan->id != \Auth::user()->plan && \Auth::user()->type == 'company')
@if ($plan->price > 0)
@can('buy plan')
@endcan
@endif
@endif
@endif
@else
@if (App\Models\Utility::getPaymentIsOn())
@if ($plan->id != \Auth::user()->plan && \Auth::user()->type == 'company')
@if ($plan->price > 0)
@can('buy plan')
@endcan
@endif
@endif
@endif
@endif
@if (\Auth::user()->type != 'super admin' && \Auth::user()->plan != $plan->id)
@if ($plan->id != 1)
@if (\Auth::user()->requested_plan != $plan->id)
@else
@endif
@endif
@endif