@extends('themes.default1.agent.layout.agent') @section('Users') class="nav-link active" @stop @section('user-bar') class="nav-link active" @stop @section('user') class="active" @stop @section('user-directory') class="nav-link active" @stop @section('PageHeader')

{!! Lang::get('lang.create_user') !!}

@stop @section('content') @if(Session::has('fails'))
{!! Lang::get('lang.alert') !!}! {{Session::get('fails')}}
@endif @if(Session::has('errors'))
{!! Lang::get('lang.alert') !!}!
@if($errors->first('first_name'))
  • {!! $errors->first('first_name', ':message') !!}
  • @endif @if($errors->first('last_name'))
  • {!! $errors->first('last_name', ':message') !!}
  • @endif @if($errors->first('user_name'))
  • {!! $errors->first('user_name', ':message') !!}
  • @endif @if($errors->first('email'))
  • {!! $errors->first('email', ':message') !!}
  • @endif @if($errors->first('country_code'))
  • {!! $errors->first('country_code', ':message') !!}
  • @endif @if($errors->first('mobile'))
  • {!! $errors->first('mobile', ':message') !!}
  • @endif @if($errors->first('ext'))
  • {!! $errors->first('ext', ':message') !!}
  • @endif @if($errors->first('phone_number'))
  • {!! $errors->first('phone_number', ':message') !!}
  • @endif @if($errors->first('active'))
  • {!! $errors->first('active', ':message') !!}
  • @endif
    @endif {!! Form::open(['route' => 'user.store']) !!}

    User Credentials

    {!! Form::label('first_name',Lang::get('lang.first_name')) !!} * {!! Form::text('first_name',null,['class' => 'form-control']) !!}
    {!! Form::label('last_name',Lang::get('lang.last_name')) !!} {!! Form::text('last_name',null,['class' => 'form-control']) !!}
    {!! Form::label('email',Lang::get('lang.email')) !!} @if ($email_mandatory->status == 1 || $email_mandatory->status == '1') * @endif {!! Form::email('email',null,['class' => 'form-control']) !!}
    {!! Form::label('user_name',Lang::get('lang.user_name')) !!} * {!! Form::text('user_name',null,['class' => 'form-control']) !!}
    {!! Form::label('organization',Lang::get('lang.organization')) !!} {!! Form::select('org_id',[''=>'Select','Organization'=>$org],null,['class' => 'form-control','id'=>'org']) !!}
    {!! Form::label('country_code',Lang::get('lang.country-code')) !!} @if ($email_mandatory->status == 0 || $settings->status == 1) * @endif {!! Form::text('country_code',null,['class' => 'form-control', 'placeholder' => $phonecode, 'title' => Lang::get('lang.enter-country-phone-code')]) !!}
    {!! Form::label('mobile',Lang::get('lang.mobile')) !!} @if ($email_mandatory->status == 0 || $settings->status == 1) * @endif {!! Form::input('number', 'mobile',null,['class' => 'form-control']) !!}
    {!! Form::text('ext',null,['class' => 'form-control']) !!}
    {!! Form::text('phone_number',null,['class' => 'form-control']) !!}
    {!! Form::label('active',Lang::get('lang.status')) !!}
    {!! Form::radio('active','1',true) !!} {{Lang::get('lang.active')}}
    {!! Form::radio('active','0') !!} {{Lang::get('lang.inactive')}}
    {!! Form::label('internal_note',Lang::get('lang.internal_notes')) !!} {!! Form::textarea('internal_note',null,['class' => 'form-control', 'size' => '30x5']) !!}
     
    @stop @section('FooterInclude') @stop