@php
$chatGPT = \App\Models\Utility::settings('enable_chatgpt');
$enable_chatgpt = !empty($chatGPT);
@endphp
{{ Form::model($category, array('route' => array('product-category.update', $category->id), 'method' => 'PUT','class'=>'needs-validation','novalidate')) }}
@if ($enable_chatgpt)
@endif
{{ Form::label('name', __('Category Name'), ['class' => 'form-label']) }}
{{ Form::text('name', null, ['class' => 'form-control font-style', 'required' => 'required', 'placeholder'=>__('Enter Category Name')]) }}
{{ Form::label('type', __('Category Type'), ['class' => 'form-label']) }}
{{ Form::select('type', $types, null, ['class' => 'form-control', 'required' => 'required']) }}
{{Form::label('chart_account_id',__('Account'),['class'=>'form-label'])}}
{{ Form::close() }}