@extends('layouts.app') @section('title', 'Update user profile| ') @section('content')
{!! Form::model($user, ['method' => 'PUT', 'route' => ['user/update', base64_encode($user->id) ] ]) !!}

Update Profile ({{ $user->first_name.' '.$user->last_name }})

{!! Form::text('first_name', null, ['class' => 'form-control', 'placeholder' => 'First Name']) !!} @if ($errors->has('first_name'))

{{ $errors->first('first_name') }}

@endif
{!! Form::text('last_name', null, ['class' => 'form-control', 'placeholder' => 'Last Name']) !!}
(Primary contact number. ) @if ($errors->has('phone_number'))

{{ $errors->first('phone_number') }}

@endif
(Alternate contact number. ) @if ($errors->has('other_phone_number'))

{{ $errors->first('other_phone_number') }}

@endif
@if ($errors->has('gender'))

{{ $errors->first('gender') }}

@endif
{!! Form::text('other_email', null, ['class' => 'form-control ', 'placeholder' => 'Personal email']) !!} @if ($errors->has('other_email'))

{{ $errors->first('other_email') }}

@endif

Account detail

{!! Form::text('employee_id', null, ['class' => 'form-control onlyAlphaNumeric', 'placeholder' => 'Employee ID']) !!} (e.g. TS0099)
{!! Form::text('email', null, ['class' => 'form-control', 'placeholder' => 'Email']) !!} @if ($errors->has('email'))

{{ $errors->first('email') }}

@endif (e.g. john@techsaga.co.in, martin@wetechsaga.com etc.)
(If left blank system will generate the password.)
(User Role: To give specific access.) @if ($errors->has('user_role'))

{{ $errors->first('user_role') }}

@endif
(Select an user who will be monitor their work. )
@if ($errors->has('department_id'))

{{ $errors->first('department_id') }}

@endif
(Job Profile: Web Devloper, Business Manger etc. ) @if ($errors->has('designation_id'))

{{ $errors->first('designation_id') }}

@endif

Address

(Street address e.g. D-99, New Rd. )
(e.g. Near school etc. )
{!! Form::close() !!}
@endsection