{{ $plan->name }}
@if (\Auth::user()->type !== 'super admin' && \Auth::user()->plan == $plan->id)
{{ __('Active') }}
@endif
@if( \Auth::user()->type == 'super admin')
@can('Edit Plans')
@if($plan->id != 1)
@endif
@endcan
@can('Edit Plans')
@endcan
@can('Edit Plans')
@if($plan->id != 1)
{!! Form::open(['method' => 'DELETE', 'route' => ['plans.destroy', $plan->id], 'id' => 'delete-form-' . $plan->id]) !!}
{!! Form::close() !!}
@endif
@endcan
@endif
{{ isset($admin_payments_setting['currency_symbol']) ? $admin_payments_setting['currency_symbol'] : '$' }}{{ $plan->price . ' / ' . __(\App\Models\Plan::$arrDuration[$plan->duration]) }}
@if ($plan->trial == 'on')
{{__('Free Trial Days : ')}}{{ $plan->trial_days }}
@else
{{__('Free Trial Days : ')}}{{ 0 }}
@endif
@if ($plan->enable_custdomain == 'on')
-
{{ __('Custom Domain') }}
@else
-
{{ __('Custom Domain') }}
@endif
@if ($plan->enable_custsubdomain == 'on')
-
{{ __('Sub Domain') }}
@else
-
{{ __('Sub Domain') }}
@endif
@if ($plan->shipping_method == 'on')
-
{{ __('Shipping Method') }}
@else
-
{{ __('Shipping Method') }}
@endif
@if ($plan->additional_page == 'on')
-
{{ __('Additional Page') }}
@else
-
{{ __('Additional Page') }}
@endif
@if ($plan->blog == 'on')
-
{{ __('Blog') }}
@else
-
{{ __('Blog') }}
@endif
@if ($plan->pwa_store == 'on')
-
{{ __('Progressive Web App (PWA)') }}
@else
-
{{ __('Progressive Web App (PWA)') }}
@endif
@if ($plan->enable_chatgpt == 'on')
-
{{ __('Chatgpt') }}
@else
-
{{ __('Chatgpt') }}
@endif
@if ($plan->description)
{{ $plan->description }}
@endif
@if ($plan->max_products == '-1')
{{ __('Unlimited') }}
@else
{{ $plan->max_products }}
@endif
{{ __('Products') }}
@if ($plan->max_stores == '-1')
{{ __('Unlimited') }}
@else
{{ $plan->max_stores }}
@endif
{{ __('Store') }}
@if ($plan->max_users == '-1')
{{ __('Unlimited') }}
@else
{{ $plan->max_users }}
@endif
{{ __('Users') }}
@if ($plan->storage_limit == '-1')
{{ __('Unlimited') }}
@else
{{ $plan->storage_limit }}
@endif
{{ __('Storage Limit') }}
@if (\Auth::user()->type != 'super admin')
@if($plan->price <= 0)
@elseif(\Auth::user()->trial_plan == $plan->id && \Auth::user()->trial_expire_date && date('Y-m-d') < \Auth::user()->trial_expire_date)
{{ __('Plan Trial Expired : ') }}
{{ !empty(\Auth::user()->trial_expire_date) ? \Auth::user()->dateFormat(\Auth::user()->trial_expire_date) : 'lifetime' }}
@elseif (\Auth::user()->plan == $plan->id && date('Y-m-d') < \Auth::user()->plan_expire_date && \Auth::user()->is_trial_done != 1)
{{ __('Expired : ') }}
{{ \Auth::user()->plan_expire_date? \App\Models\Utility::dateFormat(\Auth::user()->plan_expire_date): __('Lifetime') }}
@elseif(\Auth::user()->plan == $plan->id && !empty(\Auth::user()->plan_expire_date) && \Auth::user()->plan_expire_date < date('Y-m-d'))
@elseif(\Auth::user()->plan == $plan->id && $plan->duration == 'Lifetime')
{{ __('Expired : ') }}
{{ __('Lifetime') }}
@else
@if (
$plan->price > 0 &&
\Auth::user()->trial_plan == 0 &&
\Auth::user()->plan != $plan->id && $plan->trial != 'off' && $plan->trial_days != 0)
@else
@endif
@endif
@endif
{{-- @if(\Auth::user()->type =='Owner' && $plan->id != \Auth::user()->plan && $plan->id !== 1)
@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