snipe-it/app/Models
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
..
Accessory.php Add manufacturer to licenses (#2436) 2016-08-16 18:49:54 -07:00
Actionlog.php Make additional fields fillable 2016-08-12 16:02:18 -07:00
Asset.php Fixes #2404 Only update name of asset if it isn't null. 2016-08-16 18:23:20 -07:00
AssetMaintenance.php Use trans instead of lang:: 2016-07-10 21:07:59 -07:00
AssetModel.php Smaller miminums for model and category name 2016-06-22 12:50:21 -07:00
Category.php Updated undeleted validation 2016-07-26 01:49:21 -07:00
Company.php Allow super admins to override company 2016-07-28 12:40:19 -07:00
CompanyableChildScope.php Updated docblocks 2016-04-07 13:21:09 -07:00
CompanyableChildTrait.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
CompanyableScope.php Updated docblocks 2016-04-07 13:21:09 -07:00
CompanyableTrait.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
Component.php Validate that purchase_cost is a numeric value. (#2452) 2016-08-16 18:18:50 -07:00
Consumable.php Validate that purchase_cost is a numeric value. (#2452) 2016-08-16 18:18:50 -07:00
ConsumableAssignment.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
CustomField.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
CustomFieldset.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
Depreciable.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
Depreciation.php Fixes #1909 - allow 0 month depreciation 2016-04-19 07:39:54 -07:00
Group.php Formatting fixes for coding standards 2016-06-22 12:27:41 -07:00
ICompanyableChild.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
Ldap.php Allow admin to turn LDAP password sync off. 2016-08-04 14:29:28 -07:00
License.php Add manufacturer to licenses (#2436) 2016-08-16 18:49:54 -07:00
LicenseSeat.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
Location.php Updated undeleted validation 2016-07-26 01:49:21 -07:00
Manufacturer.php Add manufacturer to licenses (#2436) 2016-08-16 18:49:54 -07:00
Setting.php Fixed indenting 2016-07-13 05:47:32 -07:00
Statuslabel.php Updated undeleted validation 2016-07-26 01:49:21 -07:00
Supplier.php Added table name for trait 2016-07-26 02:04:31 -07:00
Throttle.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
User.php Generate email method 2016-08-12 16:02:39 -07:00