snipe-it/app/Http/Controllers
Daniel Meltzer 276e0a7114 Importer: Implement item update and interface improvments (#2507)
* Add support for updating assets to the importer.

If an asset with a matching asset tag is found, and the --update flag is
passed to the importer, we edit the matching asset with any
asset-specific values, and persist to the database.  Any missing/blank
values are skipped.

TODO: Add to web interface, add support in consumables/accessories

* Allow deleting of files on the import page.

* Extend web interface to allow updating of imported items.

This adds a modal dialog to the import process.  Currently the dialog
allows the choice of update vs ignore, and choosing the item type to
import (Accessory, Asset, Consumable).

Also use Helper::ParseFloat() for purchase_cost processing.  It exists,
and fixes issues on my end at least.

* Implement editing of consumables and accessories.

* Rename getProcessImportFile to postProcessImportFile to reflect how it's now used

* Fix copy-pasta error.
2016-08-29 15:49:32 -07:00
..
Auth Allow admin to turn LDAP password sync off. 2016-08-04 14:29:28 -07:00
AccessoriesController.php Merge branch 'fix-double-format' of https://github.com/dmeltzer/snipe-it into dmeltzer-fix-double-format 2016-08-16 18:53:45 -07:00
AssetMaintenancesController.php Eager load asset query on maintenances to prevent n+1 queries 2016-08-11 15:56:21 -07:00
AssetModelsController.php Formatting fixes for coding standards 2016-06-22 12:27:41 -07:00
AssetsController.php Importer: Implement item update and interface improvments (#2507) 2016-08-29 15:49:32 -07:00
CategoriesController.php Fix 2347 (#2394) 2016-08-16 13:02:42 -07:00
CompaniesController.php Use updated redirect() reference 2016-04-28 21:06:41 -07:00
ComponentsController.php Fixes #2441 - use showAssetName to avoid blank entries in link name which makes Slack do weird things 2016-08-18 13:10:31 -07:00
ConsumablesController.php Merge branch 'fix-double-format' of https://github.com/dmeltzer/snipe-it into dmeltzer-fix-double-format 2016-08-16 18:53:45 -07:00
Controller.php Updated docblocks 2016-04-07 13:21:09 -07:00
CustomFieldsController.php Store new fields in the database 2016-08-25 17:08:08 -07:00
DashboardController.php Smaller dashboard number 2016-08-23 18:52:12 -07:00
DepreciationsController.php Formatting fixes for coding standards 2016-06-22 12:27:41 -07:00
GroupsController.php Formatting fixes for coding standards 2016-06-22 12:27:41 -07:00
LicensesController.php Merge branch 'fix-double-format' of https://github.com/dmeltzer/snipe-it into dmeltzer-fix-double-format 2016-08-16 18:53:45 -07:00
LocationsController.php Formatting fixes for coding standards 2016-06-22 12:27:41 -07:00
ManufacturersController.php Add manufacturer to licenses (#2436) 2016-08-16 18:49:54 -07:00
ProfileController.php Use updated redirect() reference 2016-04-28 21:06:41 -07:00
ReportsController.php Rename parseCurrencyString to formatCurrencyOutput to clarify what it does better. 2016-08-16 20:47:53 -05:00
SettingsController.php Allow admin to turn LDAP password sync off. 2016-08-04 14:29:28 -07:00
StatuslabelsController.php Added show in nav for status label views and controller 2016-08-23 18:52:42 -07:00
SuppliersController.php Fix for missing input variable in suppliers ajax method 2016-07-13 22:35:21 -07:00
UsersController.php Better handling for deleted users 2016-08-02 04:23:13 -07:00
ViewAssetsController.php Removed unused use statement 2016-07-10 21:01:11 -07:00