@extends('layouts.main') @section('side_bar') @include('layouts.side_bar') @endsection @section('profile') @include('layouts.profile') @endsection @section('page_title')

Bulk User Upload

@endsection @section('main_div')
Upload Employees
@if(session('success')) @endif @if(session('error')) @endif @if(session('errors') && count(session('errors')) > 0)

The following errors occurred during import:

    @foreach(session('errors') as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf
@error('csv_file')
{{ $message }}
@enderror
Please upload a CSV file containing employee information. Download the template to see the required format.
Format Instructions

The CSV file should contain the following columns:

  • name - Full name of the employee
  • email - Email address (must be unique)
  • department - Department the employee belongs to
  • employee_id - Employee ID number (must be unique)
  • credit_limit - The credit limit allocated to this employee
  • role - (Optional) Role of the employee (admin, employee, manager)
  • phone - (Optional) Contact phone number
  • position - (Optional) Job position

The system will automatically create accounts for each employee and send invitation emails with temporary passwords.

@endsection