{!! Form::label('code', __('accounting-reports::lang.account_code') . ':*') !!}
{!! Form::text('code', $account->code, ['class' => 'form-control', 'required', 'readonly' => $hasTransactions, 'placeholder' => 'e.g., 1000, 2000']) !!}
@if($hasTransactions)
Cannot change code. Account has transactions.
@endif
{!! Form::label('name', __('accounting-reports::lang.account_name') . ':*') !!}
{!! Form::text('name', $account->name, ['class' => 'form-control', 'required']) !!}