@extends('admin.layout.master') @section('content')
{{ csrf_field() }}
ویرایش کاربر @include('share.extra.back2',['route'=>route('admin.users.index')])
@include('share.forms.input',['name'=>'userName','class'=>'dleft','title'=>'نام کاربری','value'=>$user->userName])
@include('share.forms.input',['name'=>'email','class'=>'dleft','title'=>'ایمیل','value'=>$user->email])
@include('share.forms.input',['name'=>'firstName','title'=>'نام','value'=>$user->firstName])
@include('share.forms.input',['name'=>'lastName','title'=>'نام خانوادگی','value'=>$user->lastName])
@include('share.forms.input',['name'=>'fatherName','title'=>'نام پدر','value'=>$user->fatherName])
@include('share.forms.select',['name'=>'gender','title'=>'جنسیت','options'=>['male'=>'مرد','female'=>'زن'],'selected'=>$user->gender])
موارد بیشتر @include('share.forms.error',['name'=>'city_id'])
موارد بیشتر @include('share.forms.error',['name'=>'city_id'])
@include('share.forms.input',['name'=>'nationalCode','class'=>'dleft','title'=>'کد ملی', 'extraFields'=>'v-model="nationalCode" :class="{invalid:!validnationalCode}"','value'=>$user->nationalCode]) کد ملی صحیح نیست @include('share.forms.error',['name'=>'nationalCode'])
@include('share.forms.input',['name'=>'certificateCode','title'=>'شماره شناسنامه','value'=>$user->certificateCode])
@include('share.forms.date',['name'=>'birthday','title'=>'تاریخ تولد','value'=>$user->birthday,'disabled'=>false])
@include('share.forms.input',['name'=>'birthplace','title'=>'محل تولد','value'=>$user->birthplace])
@include('share.forms.input',['name'=>'mobile','class'=>'dleft','title'=>'موبایل','value'=>$user->mobile])
@include('share.forms.input',['name'=>'telephone','class'=>'dleft','title'=>'تلفن','value'=>$user->telephone])
@include('share.forms.input',['name'=>'address','title'=>'آدرس','value'=>$user->address])
@include('share.forms.input',['name'=>'postalCode','class'=>'dleft','title'=>'کد پستی','value'=>$user->postalCode])
@include('share.forms.select',['name'=>'type','title'=>'نوع کاربر','options'=>['admin'=>'مدیر','user'=>'کاربر'],'selected'=>$user->type])
موارد بیشتر @include('share.forms.error',['name'=>'skill_id'])
@include('share.forms.switch',['name'=>'canEdit','title'=>'قابل ویرایش','checked'=>$user->canEdit])
@include('share.forms.switch',['name'=>'saveSkill','title'=>'ثبت مهارت در سامانه','checked'=>$user->saveSkill])
@include('share.forms.select',['name'=>'education','title'=>'آخرین مدرک تحصیلی','options'=>['1'=>'زیر دیپلم','2'=>'دیپلم','3'=>'کاردانی','4'=>'کارشناسی','5'=>'کارشناسی ارشد','6'=>'دکتری'],'selected'=>$user->education,'extraFields'=>'autocomplete="off"'])
@include('share.forms.input',['name'=>'fieldOfStudy','title'=>'آخرین رشته و گرایش','extraFields'=>'autocomplete="off"','value'=>$user->fieldOfStudy])
@include('share.forms.input',['name'=>'password','class'=>'dleft','title'=>'پسورد'])



More Result @include('share.forms.error',['name'=>'roles_id'])
@include('share.forms.file',['title'=>'عکس آخرین مدرک تحصیلی','name'=>'educationPicture']) @if($user->educationPicture) @endif
@include('share.forms.file',['title'=>'عکس پرسنلی','name'=>'personalPicture']) @if($user->personalPicture) @endif
@include('share.forms.file',['title'=>'کارت ملی','name'=>'nationalCardPicture']) @if($user->nationalCardPicture) @endif
@endsection @push('scripts') @endpush @push('styles') @endpush