{!! Form::open(array('route' => 'users.store','method'=>'POST','id'=>'users_form', 'files'=> true,'enctype'=>'multipart/form-data')) !!}
@error('phone_code')
{{ $message }}
@enderror
@error('phone')
{{ $message }}
@enderror
@error('roles')
{{ $message }}
@enderror
{!! Form::close() !!}
{!! Form::text('name', null, array('placeholder' => 'Name','class' => 'form-control form-control-sm')) !!}
@error('name')
{{ $message }}
@enderror
@error('image')
{{ $message }}
@enderror
Contact Information
{!! Form::text('email', null, array('placeholder' => 'Email','class' => 'form-control form-control-sm' ,'id' => 'user_email_id')) !!}
@error('email')
{{ $message }}
@enderror
{!! Form::text('phone_code', 91, array('placeholder' => 'Code','class' => 'form-control form-control-sm','maxlength'=>3)) !!}
{!! Form::text('phone', null, array('placeholder' => 'Contact Number','class' => 'form-control form-control-sm')) !!}
Company Information
{!! Form::text('designation', null, array('placeholder' => 'Designation','class' => 'form-control form-control-sm')) !!}
@error('designation')
{{ $message }}
@enderror
{!! Form::text('staff_code', null, array('placeholder' => 'Staff Code','class' => 'form-control form-control-sm','id' => 'staff_code')) !!}
@error('designation')
{{ $message }}
@enderror
{!! Form::select('companies', $companies,[], array('class' => 'form-control form-control-sm', 'id'=>'company_id')) !!}
@error('companies')
{{ $message }}
@enderror
@foreach($roles as $value)
id}}>{{ Form::checkbox('roles[]', $value->id, false, array('class' => 'name','title'=>$value->name)) }}
{{$value->name}}
@endforeach
@include('components.dashboard.vertical')