snipe-it/app/Presenters
Daniel Meltzer 987536930c Assorted fixes (#3923)
* Fix some n+1 problems

* Use route in notification dropdown to make sure we link to correct page

* Work on better UI support for checkout to non-user.  Fix links on index bootstrap table, work towards eliminating assignedUser

* Remove Asset::assigneduser() relationship.  Instead add a checkedOutToUser() method and/or port to using assignedTo()

* Adjust string to fit new reality

* Fix #3780.  Move the consumables getDataView method to the ApiController.  Not entirely RESTful, but it's a weird method that probably doesn't need its own controller and the functionality would be strange to stack on the userscontroller...

* Fix file uploads to assets and restore the delete route.

* Add asset maintence edit action to index.

* Suppliers asset list should link to the related asset, not to the supplier with same ID.

* Asset models page should use polymorphic formatter on assigned to to better handle assorted item types.

* Comment out more assigneduser fallacy until we figure out the query builder approach to searching for location text.
2017-09-05 17:54:58 -07:00
..
AccessoryPresenter.php Added additional permissions for checkin/checkout buttons 2017-03-11 12:14:10 -08:00
ActionlogPresenter.php Removed extra else to make Codacy happy 2017-05-23 15:53:39 -07:00
AssetModelPresenter.php Moving license index to new API format 2017-02-10 18:43:30 -08:00
AssetPresenter.php Assorted fixes (#3923) 2017-09-05 17:54:58 -07:00
CategoryPresenter.php Toggle visibility of fields in categories presenter 2017-03-11 05:30:14 -08:00
CompanyPresenter.php Fixes #3724 - adds edit/delete button back to companies listing 2017-07-07 17:10:06 -07:00
ComponentPresenter.php Fixes #3786 - checkin/checkout to components UI 2017-07-29 16:13:17 -07:00
ConsumablePresenter.php Fixes #3779 - corrects presenter used for Consumables 2017-07-29 16:44:51 -07:00
DepreciationPresenter.php Moving license index to new API format 2017-02-10 18:43:30 -08:00
LicensePresenter.php Fixes #3836 - Adds supplier to licenses column 2017-08-10 14:38:04 -07:00
LocationPresenter.php Added fullName() presenter for locations 2017-08-25 03:26:10 -07:00
ManufacturerPresenter.php Fixes #3311 - more fields for manufacturers 2017-03-10 22:08:59 -08:00
Presentable.php Add presenters for models. (#3098) 2016-12-23 17:52:00 -08:00
Presenter.php Small phpcbf cleanup 2016-12-29 14:02:18 -08:00
UserPresenter.php Added Dept field to users table presenter 2017-05-23 02:49:51 -07:00