@php $chatgpt_setting = App\Models\Utility::chatgpt_setting(\Auth::user()->creatorId()); @endphp {{ Form::model($plan, ['route' => ['plans.update', $plan->id], 'method' => 'PUT', 'enctype' => 'multipart/form-data']) }} @if (isset($chatgpt_setting['chatgpt_key']) && !empty($chatgpt_setting['chatgpt_key']))
 {{ __('Generate with AI') }}
@endif
{{ Form::label('name', __('Name'), ['class' => 'form-label']) }} {{ Form::text('name', null, ['class' => 'form-control font-style', 'placeholder' => __('Enter Plan Name'), 'required' => 'required']) }}
@if ($plan->id != 1)
{{ Form::label('price', __('Price'), ['class' => 'form-label']) }} {{ Form::number('price', null, ['class' => 'form-control', 'placeholder' => __('Enter Plan Price'), 'required' => 'required']) }}
@endif
{{ Form::label('duration', __('Duration'), ['class' => 'form-label']) }} {!! Form::select('duration', $arrDuration, null, ['class' => 'form-control select2', 'required' => 'required']) !!}
{{ Form::label('max_users', __('Max User'), ['class' => 'form-label']) }} {{ Form::number('max_users', null, ['class' => 'form-control', 'placeholder' => __('Enter Max User Create Limite')]) }} {{ __('Note: "-1" for Unlimited') }}
{{ Form::label('business', __('Max Business'), ['class' => 'form-label']) }} {{ Form::number('business', null, ['class' => 'form-control', 'placeholder' => __('Enter Max Business Create Limite')]) }} {{ __('Note: "-1" for Unlimited') }}
{{ __('MB') }}
{{ __('Note: upload size ( In MB)') }}





{{ Form::label('trial_day', __('Trial Days'), ['class' => 'form-label']) }} {{ Form::number('trial_day', null, ['class' => 'form-control', 'required' => 'required']) }}
{{ Form::label('Select Themes', __('Select Themes'), ['class' => 'form-label']) }}
    @foreach (\App\Models\Utility::themeOne() as $key => $v) @php if (in_array($key, $plan->getThemes())) { $checked = 'checked'; } else { $checked = ''; } @endphp
  • @endforeach
{{ Form::label('description', __('Description'), ['class' => 'form-label']) }} {!! Form::textarea('description', null, ['class' => 'form-control', 'rows' => '3']) !!}
{{ Form::close() }}