From f672bdd3b74ea9ebef7129e633fe19ebefe2826f Mon Sep 17 00:00:00 2001 From: snipe Date: Mon, 6 Mar 2023 14:28:14 -0800 Subject: [PATCH] Added vip to user importer Signed-off-by: snipe --- app/Importer/UserImporter.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Importer/UserImporter.php b/app/Importer/UserImporter.php index b062c16bca..bcbc632eb3 100644 --- a/app/Importer/UserImporter.php +++ b/app/Importer/UserImporter.php @@ -58,6 +58,8 @@ class UserImporter extends ItemImporter $this->item['department_id'] = $this->createOrFetchDepartment($this->findCsvMatch($row, 'department')); $this->item['manager_id'] = $this->fetchManager($this->findCsvMatch($row, 'manager_first_name'), $this->findCsvMatch($row, 'manager_last_name')); $this->item['remote'] =($this->fetchHumanBoolean($this->findCsvMatch($row, 'remote')) ==1 ) ? '1' : 0; + $this->item['vip'] =($this->fetchHumanBoolean($this->findCsvMatch($row, 'vip')) ==1 ) ? '1' : 0; + $user_department = $this->findCsvMatch($row, 'department'); if ($this->shouldUpdateField($user_department)) {