{!! Form::open(['url' => action([\Modules\AccountingReports\Http\Controllers\CapitalAccountController::class, 'store']), 'method' => 'post', 'id' => 'add_capital_account_form']) !!}

@lang('accounting-reports::lang.add_capital_account')

{!! Form::label('account_name', __('accounting-reports::lang.account_name') . ':*') !!} {!! Form::text('account_name', null, ['class' => 'form-control', 'required', 'placeholder' => __('accounting-reports::lang.account_name')]) !!}
{!! Form::label('account_type', __('accounting-reports::lang.account_type') . ':*') !!} {!! Form::select('account_type', $accountTypes, 'owner', ['class' => 'form-control', 'required']) !!}
{!! Form::label('opening_date', __('accounting-reports::lang.opening_date') . ':') !!}
{!! Form::text('opening_date', null, ['class' => 'form-control date-picker', 'placeholder' => __('accounting-reports::lang.opening_date')]) !!}
{!! Form::label('opening_balance', __('accounting-reports::lang.opening_balance') . ':') !!}
{!! Form::text('opening_balance', 0, ['class' => 'form-control input_number', 'placeholder' => __('accounting-reports::lang.opening_balance')]) !!}
{!! Form::label('contact_person', __('accounting-reports::lang.contact_person') . ':') !!} {!! Form::text('contact_person', null, ['class' => 'form-control', 'placeholder' => __('accounting-reports::lang.contact_person')]) !!}
{!! Form::label('contact_email', __('accounting-reports::lang.contact_email') . ':') !!} {!! Form::email('contact_email', null, ['class' => 'form-control', 'placeholder' => __('accounting-reports::lang.contact_email')]) !!}
{!! Form::label('contact_phone', __('accounting-reports::lang.contact_phone') . ':') !!} {!! Form::text('contact_phone', null, ['class' => 'form-control', 'placeholder' => __('accounting-reports::lang.contact_phone')]) !!}
{!! Form::label('address', __('accounting-reports::lang.address') . ':') !!} {!! Form::textarea('address', null, ['class' => 'form-control', 'rows' => '2', 'placeholder' => __('accounting-reports::lang.address')]) !!}
{!! Form::label('description', __('accounting-reports::lang.description') . ':') !!} {!! Form::textarea('description', null, ['class' => 'form-control', 'rows' => '3', 'placeholder' => __('accounting-reports::lang.description')]) !!}
{!! Form::close() !!}