@extends('layouts.app') @section('title', __('accounting-reports::lang.add_account')) @section('content')

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

{!! Form::open(['route' => 'accounting-reports.chart-of-accounts.store', 'method' => 'post', 'id' => 'account_form']) !!}
{!! Form::label('code', __('accounting-reports::lang.account_code') . ':*') !!} {!! Form::text('code', null, ['class' => 'form-control', 'required', 'placeholder' => 'e.g., 1000, 2000']) !!}
{!! Form::label('name', __('accounting-reports::lang.account_name') . ':*') !!} {!! Form::text('name', null, ['class' => 'form-control', 'required']) !!}
{!! Form::label('account_type', __('accounting-reports::lang.account_type') . ':*') !!} {!! Form::select('account_type', $accountTypes, null, ['class' => 'form-control select2', 'required', 'style' => 'width:100%']) !!}
{!! Form::label('account_group', __('accounting-reports::lang.account_group') . ':*') !!} {!! Form::select('account_group', $accountGroups, null, ['class' => 'form-control select2', 'required', 'style' => 'width:100%']) !!}
{!! Form::label('parent_id', __('accounting-reports::lang.parent_account') . ':') !!} {!! Form::select('parent_id', $parentAccounts, null, ['class' => 'form-control select2', 'placeholder' => __('lang_v1.none'), 'style' => 'width:100%']) !!}
{!! Form::label('description', __('accounting-reports::lang.description') . ':') !!} {!! Form::textarea('description', null, ['class' => 'form-control', 'rows' => 3]) !!}
@lang('messages.cancel')
{!! Form::close() !!}
@endsection @section('javascript') @endsection