{{ 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' => $customer->user->last_name, 'rules' => $customer->user->rules()])
@include('helpers.form_control', ['type' => 'text', 'name' => 'first_name', 'value' => $customer->user->first_name, 'rules' => $customer->user->rules()])
@else
@include('helpers.form_control', ['type' => 'text', 'name' => 'first_name', 'value' => $customer->user->first_name, 'rules' => $customer->user->rules()])
@include('helpers.form_control', ['type' => 'text', 'name' => 'last_name', 'value' => $customer->user->last_name, 'rules' => $customer->user->rules()])
@endif
@if (config('custom.japan'))
@else
@include('helpers.form_control', [
'type' => 'select',
'name' => 'timezone',
'value' => $customer->timezone ?? config('app.timezone'),
'options' => Tool::getTimezoneSelectOptions(),
'include_blank' => trans('messages.choose'),
'rules' => $customer->user->rules()
])
@endif
@if (config('custom.japan'))
@else
@include('helpers.form_control', [
'type' => 'select',
'name' => 'language_id',
'label' => trans('messages.language'),
'value' => $customer->language_id ?? \Acelle\Model\Language::getDefaultLanguage()->id,
'options' => Acelle\Model\Language::getSelectOptions(),
'include_blank' => trans('messages.choose'),
'rules' => $customer->user->rules()
])
@endif