Skip to content

A free open source IT asset/license management system

Added manufacturer to licenses

sniped7ac8ef61893
diff --git a/app/Importer/LicenseImporter.php b/app/Importer/LicenseImporter.php
index 02ef05af5c..ce07585ab5 100644
--- a/app/Importer/LicenseImporter.php
+++ b/app/Importer/LicenseImporter.php
@@ -66,6 +66,8 @@ class LicenseImporter extends ItemImporter
$this->item['maintained'] = $this->findCsvMatch($row, 'maintained');
$this->item['purchase_order'] = $this->findCsvMatch($row, 'purchase_order');
$this->item['reassignable'] = $this->findCsvMatch($row, 'reassignable');
+ $this->item['manufacturer'] = $this->createOrFetchManufacturer($this->findCsvMatch($row, 'manufacturer'));
+
if($this->item['reassignable'] == "")
{
$this->item['reassignable'] = 1;