@include('./util/header')
| ID | First Name | Last Name | Date Added | Group Code | Active Record | Admin Access | |
|---|---|---|---|---|---|---|---|
| {{ $employee->id }} | {{ $employee->firstName ?? '-' }} | {{ $employee->lastName ?? '-' }} | {{ $employee->email ?? '-' }} | {{ $employee->dateAdded ? \Carbon\Carbon::parse($employee->dateAdded)->format('Y-m-d') : '-' }} | {{ $employee->groupCode ?? '-' }} | @if($employee->activeRecord == '1' || $employee->activeRecord == 1) Yes @else No @endif | @if($employee->adminAccess == '1' || $employee->adminAccess == 1) Yes @else No @endif |
Required Fields:
userName or email - Email address (must be unique)firstName - First namelastName - Last nameOptional Fields:
ID - Will be ignored (auto-generated)activeRecord - Boolean (1/0, true/false) - Default: 1dateAdded - Date (YYYY-MM-DD format)dateUpdated - Date (YYYY-MM-DD format)deletedByAdminID - IntegergroupCode - StringpassWord - Password (will be hashed, leave empty if not provided)adminAccess - Boolean (1/0, true/false) - Default: 0webMasterAccess - Boolean (1/0, true/false) - Default: 0address - Stringaddress2 - Stringcity - Stringstate - Stringzip - Stringcountry - StringphoneNum - StringfaxNum - Stringnotes - TexttranslatorAccess - Boolean (1/0, true/false) - Default: 0translatorLanguage - StringSample CSV Format:
ID,activeRecord,dateAdded,dateUpdated,deletedByAdminID,groupCode,firstName,lastName,userName,passWord,adminAccess,webMasterAccess,address,address2,city,state,zip,country,phoneNum,faxNum,email,notes,translatorAccess,translatorLanguage
,1,2024-01-01,,,GRP001,John,Doe,john.doe@example.com,password123,0,0,123 Main St,Apt 4,New York,NY,10001,USA,555-1234,555-5678,john.doe@example.com,Employee notes,0,
Note: The CSV file must have a header row with column names. All rows will be processed, and errors will be displayed after the import completes.