snipe-it/app/Importer
Daniel Meltzer 6ce20c32b1 Component Importer and various Importer Fixes (#3132)
* Importer fix: we were trimming the wrong part of the classname when creating a category.  This led to categories not being recognized.

* Add a component importer.  Uses same fields as consumable importer.  Only trick: If an asset_tag is present, we checkout a component to that asset on import

Enable component importer.  Also calculate the importer classname in a cleaner fashion.

* Fix comparisons.  find can return an index of 0, which is falsy.
2017-01-05 15:45:12 -08:00
..
AccessoryImporter.php Component Importer and various Importer Fixes (#3132) 2017-01-05 15:45:12 -08:00
AssetImporter.php Component Importer and various Importer Fixes (#3132) 2017-01-05 15:45:12 -08:00
ComponentImporter.php Component Importer and various Importer Fixes (#3132) 2017-01-05 15:45:12 -08:00
ConsumableImporter.php Component Importer and various Importer Fixes (#3132) 2017-01-05 15:45:12 -08:00
Importer.php Component Importer and various Importer Fixes (#3132) 2017-01-05 15:45:12 -08:00
ItemImporter.php Component Importer and various Importer Fixes (#3132) 2017-01-05 15:45:12 -08:00