snipe-it/database
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
..
factories Fixed bulk delete+checkin for users 2016-05-12 21:01:31 -07:00
migrations Add manufacturer to licenses (#2436) 2016-08-16 18:49:54 -07:00
seeds Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
.gitignore Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
2016_02_13_071006_create_snipeit_laravel_database.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00