import React, { useState } from "react"; import { Button } from "@/components/ui/button"; import { HelpCircle } from "lucide-react"; import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, DialogTrigger, } from "@/components/ui/dialog"; import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow, } from "@/components/ui/table"; const ImportHelpDialog = () => { const [open, setOpen] = useState(false); return ( CSV Import Instructions Learn how to properly format your CSV file for employee import.

Required Format

Your CSV file must include the following columns. We recommend downloading our template to ensure proper formatting.

Column Name Description Required Employee Code Unique identifier for the employee (e.g., EMP-001) Yes First Name Employee's first name Yes Middle Name Employee's middle name (if applicable) No Last Name Employee's last name Yes Email Employee's email address (must be unique) Yes Mobile Employee's mobile number Yes Type Employee's job type (e.g., Developer, Designer) Yes Academics Educational qualifications No Financial Data Salary or other financial information No Description Additional notes about the employee No Role Role name exactly as defined in the system (e.g., Admin, Manager, Employee) Yes Password Initial password for the employee account Yes

Tips for Successful Import

  • Ensure all required fields are included and properly formatted
  • Employee Codes and Email addresses must be unique
  • Role names must match exactly with roles defined in the system
  • Use our template for the most reliable results
  • If you encounter errors, check the error message and fix the issues in your CSV file
); }; export default ImportHelpDialog;