{{ $plan->name }}
@can('Edit Plan')
@endcan
@can('Buy Plan')
@if (\Auth::user()->isOwner() && \Auth::user()->plan_id == $plan->id)
{{ __('Active') }}
@endif
@endcan
{{ env('CURRENCY_SYMBOL') ? env('CURRENCY_SYMBOL') : '$' }}{{ number_format($plan->price) }}/ {{ $plan->duration }}
{{--
{{ $plan->name }} {{ __('Plan') }}
--}}
{{ $plan->description }}
-
{{ $plan->max_users == -1 ? __('Unlimited') : $plan->max_users }} {{ __('Users') }}
-
{{ $plan->max_customers == -1 ? __('Unlimited') : $plan->max_customers }}
{{ __('Customers') }}
-
{{ $plan->max_vendors == -1 ? __('Unlimited') : $plan->max_vendors }}
{{ __('Vendors') }}
-
{{ $plan->storage_limit == -1 ? __('Unlimited') : $plan->storage_limit.' '.__('MB') }}
{{ __('Storage Limit') }}
-
{{ $plan->enable_chatgpt == 'on' ? __('Enable') : __('Disable') }}
{{ __('ChatGPT') }}
@can('Buy Plan')
@if ($plan->id != \Auth::user()->plan_id && \Auth::user()->isOwner())
@if ($plan->price > 0)
@endif
@endif
@if (\Auth::user()->plan_id != $plan->id)
@if ($plan->id != 1)
@if (\Auth::user()->plan_requests != $plan->id)
@else
@endif
@endif
@endif
@if (Auth::user()->isOwner() && Auth::user()->plan_id == $plan->id) {{-- && date('Y-m-d') < \Auth::user()->plan_expire_date --}}
{{ __('Plan Expired : ') }}
{{ \Auth::user()->plan_expire_date ? \Auth::user()->dateFormat(\Auth::user()->plan_expire_date) : __('Lifetime') }}
@endif
@endcan