{!! Form::open(['url' => action([\Modules\Accounting\Http\Controllers\AccountTypeController::class, 'update'], $account_type->id), 'method' => 'put', 'id' => 'edit_account_type_form' ]) !!}

@if($account_type->account_type=='sub_type') @lang('accounting::lang.edit_account_type') @else @lang('accounting::lang.edit_detail_type') @endif

{!! Form::label('edit_name', __( 'user.name' ) . ':*') !!} {!! Form::text('name', $account_type->name, ['class' => 'form-control', 'required', 'placeholder' => __( 'user.name' ), 'id' => 'edit_name' ]); !!}
{!! Form::label('edit_parent_id', __( 'accounting::lang.parent_type' ) . ':*') !!}
{!! Form::label('gl_code', __( 'accounting::lang.gl_code' ) . ':') !!} {!! Form::text('gl_code', $account_type->gl_code, ['class' => 'form-control', 'placeholder' => __( 'accounting::lang.gl_code' ) ]) !!}

@lang( 'accounting::lang.gl_code_help' )

{!! Form::label('edit_description', __( 'lang_v1.description' ) . ':') !!} {!! Form::textarea('description', $account_type->description, ['class' => 'form-control', 'placeholder' => __( 'lang_v1.description' ), 'rows' => 3, 'id' => 'edit_description' ]); !!}
{!! Form::close() !!}