@extends('layouts.app') @section('page-title')

{{ __($pageTitle) }}

@endsection @push('head-script') @endpush @section('content')
@lang('modules.employees.updateTitle') [ {{ $userDetail->name }} ] @php($class = ($userDetail->status == 'active') ? 'label-custom' : 'label-danger') {{ucfirst($userDetail->status)}}
{!! Form::open(['id'=>'updateEmployee','class'=>'ajax-form','method'=>'PUT']) !!}
@lang('modules.employees.employeeIdInfo')
Employee will login using this email.
@lang('modules.employees.updatePasswordNote')
@
skills()) }}'>
email_notifications) checked @endif name="email_notifications" id="email_notifications1" value="1">
email_notifications) checked @endif id="email_notifications2" value="0">
@lang('app.selectImage') @lang('app.change') @lang('app.remove')
@if(isset($fields)) @foreach($fields as $field)
@if( $field->type == 'text') @elseif($field->type == 'password') @elseif($field->type == 'number') @elseif($field->type == 'textarea') @elseif($field->type == 'radio')
@foreach($field->values as $key=>$value) @endforeach
@elseif($field->type == 'select') {!! Form::select('custom_fields_data['.$field->name.'_'.$field->id.']', $field->values, isset($employeeDetail)?$employeeDetail->custom_fields_data['field_'.$field->id]:'',['class' => 'form-control gender']) !!} @elseif($field->type == 'checkbox')
@foreach($field->values as $key => $value) @endforeach
@elseif($field->type == 'date') @endif
@endforeach @endif
@lang('app.back')
{!! Form::close() !!}
{{--Ajax Modal--}} {{--Ajax Modal Ends--}} @endsection @push('footer-script') @endpush