{{ trans('messages.basic_information') }}
@if (get_localization_config('show_last_name_first', Auth::user()->admin->getLanguageCode()))
@include('helpers.form_control', ['type' => 'text', 'name' => 'last_name', 'value' => $admin->user->last_name, 'rules' => $admin->user->rules()])
@include('helpers.form_control', ['type' => 'text', 'name' => 'first_name', 'value' => $admin->user->first_name, 'rules' => $admin->user->rules()])
@else
@include('helpers.form_control', ['type' => 'text', 'name' => 'first_name', 'value' => $admin->user->first_name, 'rules' => $admin->user->rules()])
@include('helpers.form_control', ['type' => 'text', 'name' => 'last_name', 'value' => $admin->user->last_name, 'rules' => $admin->user->rules()])
@endif
@if (config('custom.japan'))
@else
@include('helpers.form_control', [
'type' => 'select',
'name' => 'timezone',
'value' => $admin->timezone ?? config('app.timezone'),
'options' => Tool::getTimezoneSelectOptions(),
'include_blank' => trans('messages.choose'),
'rules' => $admin->user->rules()
])
@endif
@include('helpers.form_control', [
'type' => 'select',
'name' => 'language_id',
'label' => trans('messages.language'),
'value' => $admin->language_id ?? \Acelle\Model\Language::getDefaultLanguage()->id,
'options' => Acelle\Model\Language::getSelectOptions(),
'include_blank' => trans('messages.choose'),
'rules' => $admin->user->rules()
])
@if (!$admin->hasCustomerAccount())
@endif