@extends('mainlayout.layout') @section('title') @endsection @push('css') @endpush @section('content')

Import Users

Upload File

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf
Accepted formats: .xlsx, .xls, .csv — Max 10MB @error('users_file') {{ $message }} @enderror
@error('role') {{ $message }} @enderror

File Format Guide

The file must have a header row as the first row, followed by one user per row. Columns must be in the following order:

Column Field Required
Afirst_nameYes
Bmiddle_nameNo
Clast_nameYes
DemailYes
EphoneYes

Each imported user will receive an invitation email to set their own password. Rows with duplicate emails or missing required fields will be skipped.

@endsection @push('scripts') @endpush