Added manufacturer to licenses

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-07-20 14:02:54 +01:00
parent 244e4ec11f
commit d7ac8ef618

View file

@ -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;