mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
quick push to check something else
This commit is contained in:
parent
c66804bcee
commit
3fb62874f0
|
@ -122,7 +122,7 @@ class AssetImporter extends ItemImporter
|
|||
|
||||
$item['asset_eol_date'] = null;
|
||||
if (isset($this->item['asset_eol_date'])) {
|
||||
$model = AssetModel::find($this->createOrFetchAssetModel($row, $this->item['model_id']));
|
||||
$model = AssetModel::find($this->item['model_id']);
|
||||
if(is_null($model->eol)) {
|
||||
$item['asset_eol_date'] = Carbon::parse($this->item['asset_eol_date'])->format('Y-m-d');
|
||||
$item['eol_explicit'] = true;
|
||||
|
|
Loading…
Reference in a new issue