@extends('layouts.app') @section('content')

Create New User



{!! Form::open(array('route' => 'users.store','method'=>'POST','class' => 'form-vertical')) !!}
User Records
{!! Form::text('name', null, array('placeholder' => 'Name','class' => 'm-wrap span12')) !!} {!! $errors->first('name', '

:message

') !!}
{!! Form::text('email', null, array('placeholder' => 'Email','class' => 'm-wrap span12')) !!} {!! $errors->first('email', '

:message

') !!}
{!! Form::text('phoneno', null, array('placeholder' => 'Phone No','class' => 'm-wrap span12')) !!} {!! $errors->first('phoneno', '

:message

') !!}
{!! Form::password('password', array('placeholder' => 'Password','class' => 'm-wrap span12')) !!} {!! $errors->first('password', '

:message

') !!}
{!! Form::password('confirm-password', array('placeholder' => 'Confirm Password','class' => 'm-wrap span12')) !!} {!! $errors->first('confirm-password', '

:message

') !!}
{!! Form::text('address', null, array('placeholder' => 'Address','class' => 'm-wrap span12')) !!} {!! $errors->first('address', '

:message

') !!}
{!! Form::select('roles[]', $roles,[], array('id' => 'roles','class' => 'm-wrap span12','multiple')) !!} {!! $errors->first('roles', '

:message

') !!}
{!! Form::select('logistic_type', ['1'=>'Import','2'=>'Export'], null, ['class' => 'm-wrap span12']) !!} {!! $errors->first('logistic_type', '

:message

') !!}
{!! Form::text('state', null, array('placeholder' => 'State','class' => 'm-wrap span12')) !!} {!! $errors->first('state', '

:message

') !!}
{!! Form::text('city', null, array('placeholder' => 'City','class' => 'm-wrap span12')) !!} {!! $errors->first('city', '

:message

') !!}
{!! Form::text('country', null, array('placeholder' => 'Country','class' => 'm-wrap span12')) !!} {!! $errors->first('country', '

:message

') !!}
{!! Form::select('status', ['Inactive', 'Active'], null, ['class' => 'm-wrap span12']) !!} {!! $errors->first('status', '

:message

') !!}
{!! Form::select('ip_id', [''=>'Select Branch'] + $ip_id->toArray(), null, ['class' => 'm-wrap span12']) !!} {!! $errors->first('ip_id', '

:message

') !!}
{!! Form::select('type', [''=>'Select Type','admin'=>'Admin','superuser'=>'Super User','supervisor'=>'Supervisor','operator'=>'Operator'], null, ['class' => 'm-wrap span12']) !!} {!! $errors->first('type', '

:message

') !!}
System Mobile {!! $errors->first('access', '

:message

') !!}
Note : User type 'operator' system access is limited to branch only.
{!! Form::close() !!}
@endsection