@extends('voyager::master') @section('page_title', 'Import Users') @section('page_header')

Import Users

@stop @section('content')

Upload CSV File

@if(session('success'))
{{ session('success') }}
@endif @if(session('duplicates'))
Duplicate Entries Skipped:
    @foreach(session('duplicates') as $duplicate)
  • {{ $duplicate }}
  • @endforeach
@endif
@csrf

Instructions

Please upload a CSV file in the following format:

CSV Format:

  • role_id, name, firstname, surname, email, country_code, phone, password, nif_cnpj, paypal_email, iban, company_name, address, postal_code, city
  • The first row should contain column headers.
  • Passwords will be encrypted automatically.
  • Role IDs should match the existing roles in the database:
    • 1 - Administrator
    • 2 - Normal User
    • 3 - Staff
Download Sample CSV
@stop @section('javascript') @stop