{{ $plan->name }}
@if (\Auth::user()->type == 'company' && \Auth::user()->plan == $plan->id)
{{ __('Active') }}
@endif
@if (\Auth::user()->type == 'super admin' && $plan->price > 0)
@endif
{{ isset($admin_payment_setting['currency_symbol']) ? $admin_payment_setting['currency_symbol'] : '$' }}{{ number_format($plan->price) }}
/{{ __(\App\Models\Plan::$arrDuration[$plan->duration]) }}
{{ __('Free Trial Days : ') . __($plan->trial_days ? $plan->trial_days : 0) }}
- {{ $plan->max_users == -1 ? __('Unlimited') : $plan->max_users }}
{{ __('Users') }}
- {{ $plan->max_customers == -1 ? __('Unlimited') : $plan->max_customers }}
{{ __('Customers') }}
- {{ $plan->max_venders == -1 ? __('Unlimited') : $plan->max_venders }}
{{ __('Vendors') }}
- {{ $plan->max_clients == -1 ? __('Unlimited') : $plan->max_clients }}
{{ __('Clients') }}
- {{ $plan->storage_limit == -1 ? __('Unlimited') : $plan->storage_limit . ' MB'}}
{{ __('Storage') }}
- {{ $plan->account == 1 ? __('Enable') : __('Disable') }}
{{ __('Account') }}
- {{ $plan->crm == 1 ? __('Enable') : __('Disable') }}
{{ __('CRM') }}
- {{ $plan->hrm == 1 ? __('Enable') : __('Disable') }}
{{ __('HRM') }}
- {{ $plan->project == 1 ? __('Enable') : __('Disable') }}
{{ __('Project') }}
- {{ $plan->pos == 1 ? __('Enable') : __('Disable') }}
{{ __('POS') }}
- {{ $plan->chatgpt == 1 ? __('Enable') : __('Disable') }}
{{ __('Chat GPT') }}
@if (\Auth::user()->type == 'super admin')
@if($plan->price > 0)
{!! Form::open([
'method' => 'DELETE',
'route' => ['plans.destroy', $plan->id],
'id' => 'delete-form-' . $plan->id,
]) !!}
{!! Form::close() !!}
@endif
@endif
@if (isset($admin_payment_setting) && !empty($admin_payment_setting))
@if (
$admin_payment_setting['is_manually_payment_enabled'] == 'on' ||
$admin_payment_setting['is_bank_transfer_enabled'] == 'on' ||
$admin_payment_setting['is_stripe_enabled'] == 'on' ||
$admin_payment_setting['is_paypal_enabled'] == 'on' ||
$admin_payment_setting['is_paystack_enabled'] == 'on' ||
$admin_payment_setting['is_flutterwave_enabled'] == 'on' ||
$admin_payment_setting['is_razorpay_enabled'] == 'on' ||
$admin_payment_setting['is_mercado_enabled'] == 'on' ||
$admin_payment_setting['is_paytm_enabled'] == 'on' ||
$admin_payment_setting['is_mollie_enabled'] == 'on' ||
$admin_payment_setting['is_skrill_enabled'] == 'on' ||
$admin_payment_setting['is_coingate_enabled'] == 'on' ||
$admin_payment_setting['is_paymentwall_enabled'] == 'on' ||
$admin_payment_setting['is_paymentwall_enabled'] == 'on' ||
$admin_payment_setting['is_toyyibpay_enabled'] == 'on' ||
$admin_payment_setting['is_payfast_enabled'] == 'on' ||
$admin_payment_setting['is_iyzipay_enabled'] == 'on' ||
$admin_payment_setting['is_sspay_enabled'] == 'on' ||
$admin_payment_setting['is_paytab_enabled'] == 'on' ||
$admin_payment_setting['is_benefit_enabled'] == 'on' ||
$admin_payment_setting['is_cashfree_enabled'] == 'on' ||
$admin_payment_setting['is_aamarpay_enabled'] == 'on' ||
$admin_payment_setting['is_paytr_enabled'] == 'on' ||
$admin_payment_setting['is_yookassa_enabled'] == 'on' ||
$admin_payment_setting['is_midtrans_enabled'] == 'on' ||
$admin_payment_setting['is_xendit_enabled'] == 'on')
@if (\Auth::user()->type != 'super admin')
@if (
$plan->price > 0 &&
\Auth::user()->trial_plan == 0 &&
\Auth::user()->plan != $plan->id && $plan->trial == 1)
{{-- \Auth::user()->trial_expire_date > date('Y-m-d')) --}}
{{ __('Start Free Trial') }}
@endif
@if ($plan->id != \Auth::user()->plan)
@if ($plan->price > 0)
{{ __('Buy Plan') }}
@endif
@endif
@if ($plan->id != 1 && $plan->id != \Auth::user()->plan)
@if (\Auth::user()->requested_plan != $plan->id)
@else
@endif
@endif
@endif
@endif
@endif
@if (\Auth::user()->type == 'company' && \Auth::user()->trial_expire_date)
@if (\Auth::user()->type == 'company' && \Auth::user()->trial_plan == $plan->id)
{{ __('Plan Trial Expired : ') }}
{{ !empty(\Auth::user()->trial_expire_date) ? \Auth::user()->dateFormat(\Auth::user()->trial_expire_date) : 'lifetime' }}
@endif
@else
@if (\Auth::user()->type == 'company' && \Auth::user()->plan == $plan->id)
{{ __('Plan Expired : ') }}
{{ !empty(\Auth::user()->plan_expire_date) ? \Auth::user()->dateFormat(\Auth::user()->plan_expire_date) : 'lifetime' }}
@endif
@endif