mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Remove 99% of the defaultMap stuff (might pull all of this later)
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
7012018e22
commit
d228b7f347
|
@ -30,57 +30,7 @@ abstract class Importer
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
private $defaultFieldMap = [
|
private $defaultFieldMap = [
|
||||||
'asset_tag' => 'asset tag',
|
|
||||||
'activated' => 'activated',
|
|
||||||
'category' => 'category',
|
|
||||||
'checkout_class' => 'checkout type', // Supports Location or User for assets. Using checkout_class instead of checkout_type because type exists on asset already.
|
|
||||||
'checkout_location' => 'checkout location',
|
|
||||||
'company' => 'company',
|
|
||||||
'item_name' => 'item name',
|
|
||||||
'item_number' => 'item number',
|
'item_number' => 'item number',
|
||||||
'image' => 'image',
|
|
||||||
'expiration_date' => 'expiration date',
|
|
||||||
'location' => 'location',
|
|
||||||
'notes' => 'notes',
|
|
||||||
'license_email' => 'licensed to email',
|
|
||||||
'license_name' => 'licensed to name',
|
|
||||||
'maintained' => 'maintained',
|
|
||||||
'manufacturer' => 'manufacturer',
|
|
||||||
'asset_model' => 'model name',
|
|
||||||
'model_number' => 'model number',
|
|
||||||
'order_number' => 'order number',
|
|
||||||
'purchase_cost' => 'purchase cost',
|
|
||||||
'purchase_date' => 'purchase date',
|
|
||||||
'purchase_order' => 'purchase order',
|
|
||||||
'qty' => 'quantity',
|
|
||||||
'reassignable' => 'reassignable',
|
|
||||||
'requestable' => 'requestable',
|
|
||||||
'seats' => 'seats',
|
|
||||||
'serial' => 'serial number',
|
|
||||||
'status' => 'status',
|
|
||||||
'supplier' => 'supplier',
|
|
||||||
'termination_date' => 'termination date',
|
|
||||||
'warranty_months' => 'warranty',
|
|
||||||
'full_name' => 'full name',
|
|
||||||
'email' => 'email',
|
|
||||||
'username' => 'username',
|
|
||||||
'address' => 'address',
|
|
||||||
'address2' => 'address2',
|
|
||||||
'city' => 'city',
|
|
||||||
'state' => 'state',
|
|
||||||
'country' => 'country',
|
|
||||||
'zip' => 'zip',
|
|
||||||
'jobtitle' => 'job title',
|
|
||||||
'employee_num' => 'employee number',
|
|
||||||
'phone_number' => 'phone number',
|
|
||||||
'first_name' => 'first name',
|
|
||||||
'last_name' => 'last name',
|
|
||||||
'department' => 'department',
|
|
||||||
'manager_name' => 'manager full name',
|
|
||||||
'manager_username' => 'manager username',
|
|
||||||
'min_amt' => 'minimum quantity',
|
|
||||||
'remote' => 'remote',
|
|
||||||
'vip' => 'vip',
|
|
||||||
];
|
];
|
||||||
/**
|
/**
|
||||||
* Map of item fields->csv names
|
* Map of item fields->csv names
|
||||||
|
|
Loading…
Reference in a new issue