diff --git a/app/Domains/Export/Services/ImportService.php b/app/Domains/Export/Services/ImportService.php index 21211c55..9905b84a 100644 --- a/app/Domains/Export/Services/ImportService.php +++ b/app/Domains/Export/Services/ImportService.php @@ -36,7 +36,7 @@ class ImportService extends Service foreach ($item as $key => $value) { $column = strtolower($title[$key]); if ($columns === null || in_array($column, $columns)) { - $row[$column] = $value; + $row[$column] = trim($value); } }