@extends('layouts/default') {{-- Page title --}} @section('title') Import User @parent @stop @section('header_right') {{ trans('general.back') }} @stop {{-- Page content --}} @section('content')
@if (Session::get('message'))

You have an error in your CSV file:
{{ Session::get('message') }}

@endif

Upload a CSV file with one or more users. Passwords will be auto-generated. The CSV should have the first fields as:

firstName,lastName, username, email, location_id, phone, jobtitle, employee_num, company_id, manager, salary, gross salary ,login Enable , user role, Department, Domain, Skill, Gate Pass, Agreement End Date, Date of Birth, Certificates, Notes..

Any additional fields to the right of those fields will be ignored. Email is optional, however users will not be able to recover their passwords or receive EULAs if you do not provide an email address. If you wish to include a company association, you must reference the ID number of an existing company - companies will not be created on the fly.

Demo File @if (config('app.lock_passwords'))

Note: Email notification for users is disabled for this installation.

@endif
{{ Form::checkbox('has_headers', '1', Input::old('has_headers')) }} This CSV has a header row
{{ Form::checkbox('email_user', '1', Input::old('email_user')) }} Email these users their credentials? (Only possible where email address is included with user data.)
{{ Form::checkbox('activate', '1', Input::old('activate')) }} Activate user?
@section('moar_scripts') @stop @stop