change Importer.php back

This commit is contained in:
spencerrlongg 2023-09-14 16:11:24 -05:00
parent afe9d43139
commit 1cfd7673e0

View file

@ -194,8 +194,6 @@ class Importer extends Component
]; ];
$this->assets_fields = [ $this->assets_fields = [
//'asset_eol_date' => trans('general.eol'),
'asset_eol_date' => 'asset_eol_date',
'company' => trans('general.company'), 'company' => trans('general.company'),
'location' => trans('general.location'), 'location' => trans('general.location'),
'item_name' => trans('general.item_name_var', ['item' => trans('general.asset')]), 'item_name' => trans('general.item_name_var', ['item' => trans('general.asset')]),
@ -217,7 +215,7 @@ class Importer extends Component
'manufacturer' => trans('general.manufacturer'), 'manufacturer' => trans('general.manufacturer'),
'order_number' => trans('general.order_number'), 'order_number' => trans('general.order_number'),
'image' => trans('general.importer.image_filename'), 'image' => trans('general.importer.image_filename'),
//'asset_eol_date' => trans('admin/hardware/form.eol_date'), 'asset_eol_date' => trans('admin/hardware/form.eol_date'),
/** /**
* Checkout fields: * Checkout fields:
* Assets can be checked out to other assets, people, or locations, but we currently * Assets can be checked out to other assets, people, or locations, but we currently