diff --git a/app/Filament/Imports/EmployeeMasterImporter.php b/app/Filament/Imports/EmployeeMasterImporter.php index 4c103df..5b74fec 100644 --- a/app/Filament/Imports/EmployeeMasterImporter.php +++ b/app/Filament/Imports/EmployeeMasterImporter.php @@ -38,10 +38,10 @@ class EmployeeMasterImporter extends Importer ->exampleHeader('DEPARTMENT') ->example('HR') ->label('DEPARTMENT'), - ImportColumn::make('designation') - ->exampleHeader('DESIGNATION') - ->example('Manager') - ->label('DESIGNATION'), + // ImportColumn::make('designation') + // ->exampleHeader('DESIGNATION') + // ->example('Manager') + // ->label('DESIGNATION'), ImportColumn::make('email') ->exampleHeader('EMAIL') ->example('john.doe@example.com') @@ -60,7 +60,7 @@ class EmployeeMasterImporter extends Importer $employeeName = trim($this->data['name']) ?? ''; $employeeCode = trim($this->data['code']) ?? ''; $employeeDepartment = trim($this->data['department']) ?? ''; - $employeeDesignation = trim($this->data['designation']) ?? ''; + // $employeeDesignation = trim($this->data['designation']) ?? ''; $employeeEmail = trim($this->data['email']) ?? ''; $employeeMobile = trim($this->data['mobile_number']) ?? ''; $createdBy = Filament::auth()->user()?->name ?? ''; @@ -124,7 +124,7 @@ class EmployeeMasterImporter extends Importer 'email' => $employeeEmail ?? null, 'mobile_number' => $employeeMobile ?? null, 'department' => $employeeDepartment ?? null, - 'designation' => $employeeDesignation ?? null, + // 'designation' => $employeeDesignation ?? null, 'created_by' => $createdBy ?? null, 'updated_by' => $updatedBy ?? null, ]