{!! Form::open(['url' => action([\Modules\Accounting\Http\Controllers\CoaController::class, 'update'], $account->id), 'method' => 'put', 'id' => 'create_client_form' ]) !!}
×
@lang( 'accounting::lang.edit_account' )
{!! Form::label('account_primary_type', __( 'accounting::lang.account_type' ) . ':*') !!}
@lang('messages.please_select')
@foreach($account_types as $account_type => $account_details)
account_primary_type == $account_type) selected @endif >{{__('accounting::lang.' .$account_type)}}
@endforeach
{!! Form::label('account_sub_type', __( 'accounting::lang.account_sub_type' ) . ':*') !!}
@lang('messages.please_select')
@foreach($account_sub_types as $account_type)
account_sub_type_id == $account_type->id) selected @endif> {{$account_type->account_type_name}}
@endforeach
{!! Form::label('detail_type', __( 'accounting::lang.detail_type' ) . ':*') !!}
@lang('messages.please_select')
@foreach($account_detail_types as $detail_type)
detail_type_id == $detail_type->id) selected @endif > {{$detail_type->account_type_name}}
@endforeach
{{$account->detail_type->account_type_description ?? ''}}
{!! Form::label('name', __( 'user.name' ) . ':*') !!} {!! Form::text('name', $account->name, ['class' => 'form-control', 'required', 'placeholder' => __( 'user.name' ) ]); !!}
{!! Form::label('gl_code', __( 'accounting::lang.gl_code' ) . ':') !!} {!! Form::text('gl_code', $account->gl_code, ['class' => 'form-control', 'placeholder' => __( 'accounting::lang.gl_code' ) ]); !!}
@lang( 'accounting::lang.gl_code_help' )
{!! Form::label('parent_account', __( 'accounting::lang.parent_account' ) . ':') !!}
@lang('messages.please_select')
@foreach($parent_accounts as $parent_account)
parent_account_id == $parent_account->id) selected @endif > {{$parent_account->name}}
@endforeach
{!! Form::label('description', __( 'lang_v1.description' ) . ':') !!} {!! Form::textarea('description', $account->description, ['class' => 'form-control', 'placeholder' => __( 'lang_v1.description' ) ]); !!}
{!! Form::close() !!}