snipe-it/app/Http/Controllers
Daniel Meltzer ac63642224 Add manufacturer to licenses (#2436)
* Add manufacturer to licenses.  Shows in table and edit.  Need to improve manufacturer view to show lists beyond assets still.

* Remove extra closing tags, formatting

* Work on making the manufacturer view show more options. Need to figure out how to change the table dynamically.

* Cleanup formatting and fix a few weirdities in hardware/view.blade.php

* Standardize on two-space tabs in this file, as it seems the most
* common.

* Fix a few places where we call number_format without guaranteeing the
* item is a number and not a string.

* Show a "No Results" message on components page if there are no
* components.

* Show table of licenses on manufacturer view page.

This reworks the ManufacturersController::getDataView method to delegate
the view to a sub method (currently assets or licenses, but plan to
extend to consumables/accessories/components as well).  We then put tabs
at the top of the view to show multiple tables.  This just duplicates
the table layout from licenses/index.blade, but I wonder if theres a way
to centralize that code, maybe through partials, over time..

The only known missing part of manufacturers for licenses would be adding it
to the importer, but the license importer should probably migrate to
object importer before doing too much more...

* Add manufacturer to accessory.

* Add consumables to the manufacturer view page.
2016-08-16 18:49:54 -07:00
..
Auth Allow admin to turn LDAP password sync off. 2016-08-04 14:29:28 -07:00
AccessoriesController.php Add manufacturer to licenses (#2436) 2016-08-16 18:49:54 -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 Fix 2347 (#2394) 2016-08-16 13:02:42 -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 #2363 and #1097 2016-08-02 00:54:38 -07:00
ConsumablesController.php Add manufacturer to licenses (#2436) 2016-08-16 18:49:54 -07:00
Controller.php Updated docblocks 2016-04-07 13:21:09 -07:00
CustomFieldsController.php Ability to remove field from fieldset 2016-07-28 08:10:15 -07:00
DashboardController.php More dashboard fixes 2016-05-18 19:48:19 -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 Add manufacturer to licenses (#2436) 2016-08-16 18:49:54 -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 Added missing username in header row 2016-08-02 15:16:01 -07:00
SettingsController.php Allow admin to turn LDAP password sync off. 2016-08-04 14:29:28 -07:00
StatuslabelsController.php Added custom color to status labels, only show status labels if there are results 2016-08-02 13:25:50 -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