mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -08:00
Added manufacturer to licenses
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
244e4ec11f
commit
d7ac8ef618
|
@ -66,6 +66,8 @@ class LicenseImporter extends ItemImporter
|
||||||
$this->item['maintained'] = $this->findCsvMatch($row, 'maintained');
|
$this->item['maintained'] = $this->findCsvMatch($row, 'maintained');
|
||||||
$this->item['purchase_order'] = $this->findCsvMatch($row, 'purchase_order');
|
$this->item['purchase_order'] = $this->findCsvMatch($row, 'purchase_order');
|
||||||
$this->item['reassignable'] = $this->findCsvMatch($row, 'reassignable');
|
$this->item['reassignable'] = $this->findCsvMatch($row, 'reassignable');
|
||||||
|
$this->item['manufacturer'] = $this->createOrFetchManufacturer($this->findCsvMatch($row, 'manufacturer'));
|
||||||
|
|
||||||
if($this->item['reassignable'] == "")
|
if($this->item['reassignable'] == "")
|
||||||
{
|
{
|
||||||
$this->item['reassignable'] = 1;
|
$this->item['reassignable'] = 1;
|
||||||
|
|
Loading…
Reference in a new issue