A free open source IT asset/license management system
Convert whatever value we get in column 'checkout type' to all lowercase
Ivan Nieto Vivancof1b8b7d11d49
diff --git a/app/Importer/ItemImporter.php b/app/Importer/ItemImporter.phpindex b68d9d5e8c..7ff568a429 100644--- a/app/Importer/ItemImporter.php+++ b/app/Importer/ItemImporter.php@@ -100,7 +100,7 @@ class ItemImporter extends Importerreturn $this->createOrFetchUser($row);}- if ($this->item['checkout_class'] === 'location') {+ if (strtolower($this->item['checkout_class']) === 'location') {return Location::findOrFail($this->createOrFetchLocation($this->findCsvMatch($row, 'checkout_location')));}