mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
Fixed order number and warranty bug in importer
This commit is contained in:
parent
ea07517ad5
commit
b71d0ab484
|
@ -67,7 +67,7 @@ class AssetImporter extends ItemImporter
|
|||
}
|
||||
|
||||
$this->item['image'] = $this->findCsvMatch($row, "image");
|
||||
$this->item['warranty_months'] = intval($this->findCsvMatch($row, "warranty"));
|
||||
$this->item['warranty_months'] = intval($this->findCsvMatch($row, "warranty_months"));
|
||||
$this->item['model_id'] = $this->createOrFetchAssetModel($row);
|
||||
|
||||
// If no status ID is found
|
||||
|
|
|
@ -85,6 +85,7 @@ class Asset extends Depreciable
|
|||
'model_id',
|
||||
'name',
|
||||
'notes',
|
||||
'order_number',
|
||||
'purchase_cost',
|
||||
'purchase_date',
|
||||
'rtd_location_id',
|
||||
|
|
Loading…
Reference in a new issue