@include('admin.components.form.input', [
'label' => __('first Name') . '*',
'name' => 'firstname',
'placeholder' => __('enter First Name'),
'value' => old('firstname', auth()->user()->firstname),
])
@include('admin.components.form.input', [
'label' => __('last Name') . '*',
'name' => 'lastname',
'placeholder' => __('enter Last Name'),
'value' => old('lastname', auth()->user()->lastname),
])
@include('admin.components.form.input', [
'label' => __('business Name') . '*',
'name' => 'business_name',
'placeholder' => __('enter Business Name'),
'value' => old('business_name', auth()->user()->business_name),
])
registered_by == global_const()::EMAIL ? 'readonly' : '' }}>
@include('admin.components.form.input', [
'label' => __('address'),
'name' => 'address',
'placeholder' => __('enter Address'),
'value' => old('address', auth()->user()->address->address ?? ''),
])
@php
$old_city = old('city', auth()->user()->address->city ?? '');
@endphp
@include('admin.components.form.input', [
'label' => __('city'),
'name' => 'city',
'placeholder' => __('enter City'),
'value' => old('city', $old_city),
])
@php
$old_state = old('state', auth()->user()->address->state ?? '');
@endphp
@include('admin.components.form.input', [
'label' => __('state'),
'name' => 'state',
'placeholder' => __('enter State'),
'value' => old('state', $old_state),
])
@include('admin.components.form.input', [
'label' => __('zip Code'),
'name' => 'zip_code',
'placeholder' => __('enter Zip Code'),
'value' => old('zip_code', auth()->user()->address->zip ?? ''),
])