@php
$chatGPT = \App\Models\Utility::settings('enable_chatgpt');
$enable_chatgpt = !empty($chatGPT);
@endphp
{{ Form::open(array('url' => 'product-category','class'=>'needs-validation','novalidate')) }}
@if ($enable_chatgpt)
@endif
{{ Form::label('name', __('Category Name'), ['class' => 'form-label']) }}
{{ Form::text('name', '', ['class' => 'form-control', 'required' => 'required', 'placeholder'=>__('Enter Category Name')]) }}
{{ Form::label('type', __('Category Type'),['class'=>'form-label']) }}
{{ Form::select('type',$types,null, array('class' => 'form-control select cattype ','required'=>'required')) }}
{{Form::label('chart_account_id',__('Account'),['class'=>'form-label'])}}
{{ Form::label('color', __('Category Color'), ['class' => 'form-label']) }}
{{ Form::color('color', '', ['class' => 'form-control jscolor', 'required' => 'required']) }}
{{ __('For chart representation') }}
{{ Form::close() }}